You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
WorkerThreadPool: Add safety point between languages finished and pool termination
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user