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:
Rémi Verschelde 2022-12-22 08:55:36 +01:00
commit 309d3bf19a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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);