Merge pull request #12368 from jherico/fix/offscreen_deadlock

Fix for deadlock triggering while loading QML engine
This commit is contained in:
John Conklin II 2018-02-08 10:37:46 -08:00 committed by GitHub
commit d0cfdfb4ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();