diff options
Diffstat (limited to 'Ivy/IvyApplication.cxx')
-rw-r--r-- | Ivy/IvyApplication.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx index 7b3cd2f..8ba70f6 100644 --- a/Ivy/IvyApplication.cxx +++ b/Ivy/IvyApplication.cxx @@ -5,7 +5,7 @@ #include "IvyApplication.h"
#include "IvyBinding.h"
-
+#include "IvySynchroWnd.h"
//#define IVY_DEBUG
@@ -272,11 +272,9 @@ void IvyApplication::OnReceive(char * line) #ifdef IVY_DEBUG
TRACE("Die Message id=%d msg='%s'\n", id, arg);
#endif //IVY_DEBUG
-
if ( bus->CallDieCallback( this, id, arg ) )
{
- PostMessage( NULL, WM_CLOSE, 0, 0);
- exit(-1);
+ IvySynchroWnd::PostQuit();
}
break;
case Ping:
|