Emulator: Don't trigger on_launch() until the main thread is set.
This commit is contained in:
parent
fc27b34304
commit
aae82430f2
|
@ -641,8 +641,8 @@ X_STATUS Emulator::CompleteLaunch(const std::wstring& path,
|
|||
return X_STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
on_launch();
|
||||
main_thread_ = main_xthread->thread();
|
||||
on_launch();
|
||||
|
||||
return X_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue