From 4a16b8630e0fc73fe3178bf4828f22e07aec5aa0 Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Tue, 6 Dec 2022 13:51:06 -0500 Subject: Fix `ResourceLoader::thread_load_tasks` crash --- main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main') 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 -- cgit v1.2.3