mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-06 05:26:29 +03:00
Running window calls in the main thread seems to fix dead-lock issues.
This commit is contained in:
@@ -254,8 +254,10 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
|
||||
|
||||
updateBuildButton();
|
||||
|
||||
if ( !mApp->getWindow()->hasFocus() )
|
||||
mApp->getWindow()->flash( WindowFlashOperation::UntilFocused );
|
||||
if ( !mApp->getWindow()->hasFocus() ) {
|
||||
mApp->getUISceneNode()->runOnMainThread(
|
||||
[this] { mApp->getWindow()->flash( WindowFlashOperation::UntilFocused ); } );
|
||||
}
|
||||
|
||||
if ( doneFn )
|
||||
doneFn( exitCode );
|
||||
|
||||
Reference in New Issue
Block a user