Skip to content

Commit

Permalink
Fixed|Client: Failed startup causes a crash rather than an error dialog
Browse files Browse the repository at this point in the history
IssueID #1775
  • Loading branch information
skyjake committed Apr 22, 2014
1 parent 3abc509 commit 03fad81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/client/src/sys_system.cpp
Expand Up @@ -46,6 +46,7 @@
#include "audio/s_main.h"

#include <de/App>
#include <de/Loop>

#if defined(WIN32) && !defined(_DEBUG)
# define DENG_CATCH_SIGNALS
Expand Down Expand Up @@ -139,6 +140,9 @@ void Sys_Shutdown(void)

static int showCriticalMessage(const char* msg)
{
// This is going to be the end, I'm afraid.
de::Loop::appLoop().stop();

Sys_MessageBox(MBT_WARNING, DOOMSDAY_NICENAME, msg, 0);
return 0;

Expand Down

0 comments on commit 03fad81

Please sign in to comment.