Merge pull request #70343 from smix8/finalize_navigation_server_3.x
[3.x] Move navigation server finalize before physics server
This commit is contained in:
commit
309d3bf19a
|
@ -2530,9 +2530,9 @@ void Main::cleanup(bool p_force) {
|
|||
memdelete(camera_server);
|
||||
}
|
||||
|
||||
finalize_navigation_server();
|
||||
OS::get_singleton()->finalize();
|
||||
finalize_physics();
|
||||
finalize_navigation_server();
|
||||
|
||||
if (packed_data) {
|
||||
memdelete(packed_data);
|
||||
|
|
Loading…
Reference in New Issue