From bde8261ffb60ec7a93ea6ecb46913fc1f54f75a1 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Tue, 31 Aug 2010 11:16:18 -0400 Subject: [PATCH] flush stream after printing back trace --- util/goodies.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/goodies.h b/util/goodies.h index f04c982001d..f367e3a47ac 100644 --- a/util/goodies.h +++ b/util/goodies.h @@ -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