summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-12-09 06:34:39 +0100
committerGitHub <noreply@github.com>2022-12-09 06:34:39 +0100
commit622e516f205b44df2b9a812c198892926cce0e7e (patch)
tree55b5195f846d24a21360d3963f15d2906df336d8
parentf692b476869c14023b342c12efc21cb5cd6002b7 (diff)
parenteb901a50f9c260afb068597f2cbe28aae176865f (diff)
Merge pull request #69769 from adamscott/fix-navigation-shape-leak
Move navigation server finalize before physics server
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index dd33dec543..09cec68ef9 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -3363,6 +3363,7 @@ void Main::cleanup(bool p_force) {
finalize_theme_db();
// Before deinitializing server extensions, finalize servers which may be loaded as extensions.
+ finalize_navigation_server();
finalize_physics();
NativeExtensionManager::get_singleton()->deinitialize_extensions(NativeExtension::INITIALIZATION_LEVEL_SERVERS);
@@ -3386,7 +3387,6 @@ void Main::cleanup(bool p_force) {
OS::get_singleton()->finalize();
- finalize_navigation_server();
finalize_display();
if (input) {