mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-07 07:41:50 -05:00
Fix wait for thread not started
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user