mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix wait for thread not started
This commit is contained in:
parent
240ed28291
commit
4aaa2e6477
16 changed files with 45 additions and 18 deletions
|
@ -687,5 +687,7 @@ EditorExportPlatformWeb::~EditorExportPlatformWeb() {
|
|||
server->stop();
|
||||
}
|
||||
server_quit = true;
|
||||
server_thread.wait_to_finish();
|
||||
if (server_thread.is_started()) {
|
||||
server_thread.wait_to_finish();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue