summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/register_core_types.cpp4
-rw-r--r--core/register_core_types.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp
index 7ebffdb459..a4b6a589f3 100644
--- a/core/register_core_types.cpp
+++ b/core/register_core_types.cpp
@@ -316,11 +316,9 @@ void register_core_extensions() {
native_extension_manager->initialize_extensions(NativeExtension::INITIALIZATION_LEVEL_CORE);
}
-void unregister_core_extensions() {
+void unregister_core_types() {
native_extension_manager->deinitialize_extensions(NativeExtension::INITIALIZATION_LEVEL_CORE);
-}
-void unregister_core_types() {
memdelete(native_extension_manager);
memdelete(resource_uid);
diff --git a/core/register_core_types.h b/core/register_core_types.h
index dfb2d8ac80..0fd4e73c40 100644
--- a/core/register_core_types.h
+++ b/core/register_core_types.h
@@ -36,6 +36,5 @@ void register_core_settings();
void register_core_extensions();
void register_core_singletons();
void unregister_core_types();
-void unregister_core_extensions();
#endif // REGISTER_CORE_TYPES_H