{
mAdaptor->Stop();
- Dali::Application application(this);
- mTerminateSignal.Emit( application );
-
mFramework->Quit();
// This will trigger OnTerminate(), below, after the main loop has completed.
}
// we've been told to quit by AppCore, ecore_x_destroy has been called, need to quit synchronously
// delete the window as ecore_x has been destroyed by AppCore
+ Dali::Application application(this);
+ mTerminateSignal.Emit( application );
+
if( mAdaptor )
{
// Ensure that the render-thread is not using the surface(window) after we delete it
{
mInitialised = true;
- // Connect to abnormal exit signals
- mAbortHandler.AbortOnSignal( SIGINT );
- mAbortHandler.AbortOnSignal( SIGQUIT );
- mAbortHandler.AbortOnSignal( SIGKILL );
- mAbortHandler.AbortOnSignal( SIGTERM );
- mAbortHandler.AbortOnSignal( SIGHUP );
-
mObserver.OnInit();
break;
}
{
mInitialised = true;
- // Connect to abnormal exit signals
- mAbortHandler.AbortOnSignal( SIGINT );
- mAbortHandler.AbortOnSignal( SIGQUIT );
- mAbortHandler.AbortOnSignal( SIGKILL );
-
mObserver.OnInit();
break;
}
break;
case APP_TERMINATE:
- mObserver.OnTerminate();
+ mObserver.OnTerminate();
break;
case APP_PAUSE: