From 818fb63f032350cebc4a035206e41b6b516e4cfb Mon Sep 17 00:00:00 2001 From: rune-scape Date: Wed, 19 Jul 2023 22:16:34 -0700 Subject: [PATCH] fixed cleanup order in `unregister_core_types()` --- core/register_core_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp index 8a55e4de8f1..c0a86e9fb73 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();