mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 15:09:34 +02:00
Merge pull request #12368 from jherico/fix/offscreen_deadlock
Fix for deadlock triggering while loading QML engine
This commit is contained in:
commit
d0cfdfb4ca
1 changed files with 2 additions and 0 deletions
|
@ -2404,7 +2404,9 @@ void Application::initializeUi() {
|
||||||
tabletScriptingInterface->getTablet(SYSTEM_TABLET);
|
tabletScriptingInterface->getTablet(SYSTEM_TABLET);
|
||||||
}
|
}
|
||||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||||
|
DeadlockWatchdogThread::pause();
|
||||||
offscreenUi->create();
|
offscreenUi->create();
|
||||||
|
DeadlockWatchdogThread::resume();
|
||||||
|
|
||||||
auto surfaceContext = offscreenUi->getSurfaceContext();
|
auto surfaceContext = offscreenUi->getSurfaceContext();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue