diff options
author | Adam Scott <ascott.ca@gmail.com> | 2022-12-06 13:51:06 -0500 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2022-12-07 16:59:10 -0500 |
commit | 4a16b8630e0fc73fe3178bf4828f22e07aec5aa0 (patch) | |
tree | 0c6b3b5202b12b432c936a1f4cc1654aafd58a05 /main | |
parent | a7937fe54cd2c1f407a529e46e2708aea5ce7243 (diff) |
Fix `ResourceLoader::thread_load_tasks` crash
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 83703c55c2..dd33dec543 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -3328,6 +3328,8 @@ 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 |