summaryrefslogtreecommitdiffstats
path: root/core/core_constants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/core_constants.cpp')
-rw-r--r--core/core_constants.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/core_constants.cpp b/core/core_constants.cpp
index 33b3271495..2f70fdf219 100644
--- a/core/core_constants.cpp
+++ b/core/core_constants.cpp
@@ -794,6 +794,8 @@ void register_global_constants() {
void unregister_global_constants() {
_global_constants.clear();
+ _global_constants_map.clear();
+ _global_enums.clear();
}
int CoreConstants::get_global_constant_count() {