mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-14 19:20:46 +01:00
Windows: Fix crash on startup with multi-threaded-message-loop (issue #1678)
This commit is contained in:
parent
3010ee1ce6
commit
6cb3be7395
@ -562,6 +562,7 @@ int CefMainDelegate::RunProcess(
|
|||||||
NOTREACHED() << "failed to start UI thread";
|
NOTREACHED() << "failed to start UI thread";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
thread->WaitUntilThreadStarted();
|
||||||
ui_thread_.swap(thread);
|
ui_thread_.swap(thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user