mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
Move navigation server finalize before physics server
This commit is contained in:
parent
f692b47686
commit
eb901a50f9
@ -3363,6 +3363,7 @@ void Main::cleanup(bool p_force) {
|
|||||||
finalize_theme_db();
|
finalize_theme_db();
|
||||||
|
|
||||||
// Before deinitializing server extensions, finalize servers which may be loaded as extensions.
|
// Before deinitializing server extensions, finalize servers which may be loaded as extensions.
|
||||||
|
finalize_navigation_server();
|
||||||
finalize_physics();
|
finalize_physics();
|
||||||
|
|
||||||
NativeExtensionManager::get_singleton()->deinitialize_extensions(NativeExtension::INITIALIZATION_LEVEL_SERVERS);
|
NativeExtensionManager::get_singleton()->deinitialize_extensions(NativeExtension::INITIALIZATION_LEVEL_SERVERS);
|
||||||
@ -3386,7 +3387,6 @@ void Main::cleanup(bool p_force) {
|
|||||||
|
|
||||||
OS::get_singleton()->finalize();
|
OS::get_singleton()->finalize();
|
||||||
|
|
||||||
finalize_navigation_server();
|
|
||||||
finalize_display();
|
finalize_display();
|
||||||
|
|
||||||
if (input) {
|
if (input) {
|
||||||
|
Loading…
Reference in New Issue
Block a user