Skip to content

Commit

Permalink
Fix formatting for the GDB stacktrace
Browse files Browse the repository at this point in the history
fixes #8684
  • Loading branch information
Michael Friedrich committed Mar 11, 2015
1 parent 9db3d42 commit e1a07ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/base/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e1a07ad

Please sign in to comment.