Fix for deadlock triggering while loading QML engine

This commit is contained in:
Bradley Austin Davis 2018-02-07 16:43:15 -08:00
parent 40851b097f
commit 725eb14163

View file

@ -2404,7 +2404,9 @@ void Application::initializeUi() {
tabletScriptingInterface->getTablet(SYSTEM_TABLET);
}
auto offscreenUi = DependencyManager::get<OffscreenUi>();
DeadlockWatchdogThread::pause();
offscreenUi->create();
DeadlockWatchdogThread::resume();
auto surfaceContext = offscreenUi->getSurfaceContext();