summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-06-18 14:09:04 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-06-18 14:09:04 +0200
commit470cc597066d2cfdcc1394ae7cc79729267985a8 (patch)
treede6b755e2de23127539fa8a2a29fadadaa4c7ad2
parent76a8fa6fed5aa7728fc7b2f05ea92acaadd054fc (diff)
parent818fb63f032350cebc4a035206e41b6b516e4cfb (diff)
downloadredot-engine-470cc597066d2cfdcc1394ae7cc79729267985a8.tar.gz
Merge pull request #93293 from rune-scape/cleanup-order
Fix cleanup order in `unregister_core_types()`
-rw-r--r--core/register_core_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp
index 8a55e4de8f..c0a86e9fb7 100644
--- a/core/register_core_types.cpp
+++ b/core/register_core_types.cpp
@@ -444,8 +444,8 @@ void unregister_core_types() {
unregister_global_constants();
- ClassDB::cleanup();
ResourceCache::clear();
+ ClassDB::cleanup();
CoreStringNames::free();
StringName::cleanup();