WorkerThreadPool: Add safety point between languages finished and pool termination
This commit is contained in:
parent
2a483fa9ba
commit
5d371e3378
3 changed files with 98 additions and 20 deletions
|
|
@ -4501,6 +4501,8 @@ void Main::cleanup(bool p_force) {
|
|||
ResourceLoader::clear_translation_remaps();
|
||||
ResourceLoader::clear_path_remaps();
|
||||
|
||||
WorkerThreadPool::get_singleton()->exit_languages_threads();
|
||||
|
||||
ScriptServer::finish_languages();
|
||||
|
||||
// Sync pending commands that may have been queued from a different thread during ScriptServer finalization
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue