0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

flush stream after printing back trace

This commit is contained in:
Eliot Horowitz 2010-08-31 11:16:18 -04:00
parent 0845e6c517
commit bde8261ffb

View File

@ -62,7 +62,7 @@ namespace mongo {
strings = backtrace_symbols(b, size);
for (i = 0; i < size; i++)
o << ' ' << strings[i] << '\n';
o.flush();
free (strings);
}
#else