Fix formatting for the GDB stacktrace

fixes #8684
This commit is contained in:
Michael Friedrich 2015-03-11 16:31:30 +01:00
parent 9db3d42135
commit e1a07ad129
1 changed files with 4 additions and 1 deletions

View File

@ -640,10 +640,13 @@ void Application::SigAbrtHandler(int)
DisplayBugMessage(ofs);
#ifndef _WIN32
ofs << "\n";
ofs.close();
#ifndef _WIN32
GetDebuggerBacktrace(fname);
#else /* _WIN32 */
ofs.close();
#endif /* _WIN32 */
}
#else /* _WIN32 */