(*iter)->OnStart();
}
- mAddOnManager->Start();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Start();
+ }
}
// Dali::Internal::Adaptor::Adaptor::Pause
}
// Extensions
- mAddOnManager->Pause();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Pause();
+ }
// Pause all windows event handlers when adaptor paused
for( auto window : mWindows )
}
// Resume AddOnManager
- mAddOnManager->Resume();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Resume();
+ }
// Inform observers that we have resumed.
for( ObserverContainer::iterator iter = mObservers.begin(), endIter = mObservers.end(); iter != endIter; ++iter )
(*iter)->OnStop();
}
- mAddOnManager->Stop();
+ if (mAddOnManager)
+ {
+ mAddOnManager->Stop();
+ }
mThreadController->Stop();