You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Avoid interaction issues between resource loading threads
This commit is contained in:
@@ -3446,6 +3446,8 @@ void Main::cleanup(bool p_force) {
|
||||
movie_writer->end();
|
||||
}
|
||||
|
||||
ResourceLoader::clear_thread_load_tasks();
|
||||
|
||||
ResourceLoader::remove_custom_loaders();
|
||||
ResourceSaver::remove_custom_savers();
|
||||
|
||||
@@ -3462,8 +3464,6 @@ void Main::cleanup(bool p_force) {
|
||||
ResourceLoader::clear_translation_remaps();
|
||||
ResourceLoader::clear_path_remaps();
|
||||
|
||||
ResourceLoader::clear_thread_load_tasks();
|
||||
|
||||
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