diff options
author | Hop311 <Hop3114@gmail.com> | 2023-02-22 22:17:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 22:17:27 +0100 |
commit | 659902727ea838b84b4ea81bfda3b5db3c6e388b (patch) | |
tree | f2c89a2046ad724dcf7d468460b47008f3d67d98 | |
parent | f1c23555878ee4b0e40c6af5f89f05b666012309 (diff) |
Delete Simulation singleton correctly. (#17)
-rw-r--r-- | extension/src/register_types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/register_types.cpp b/extension/src/register_types.cpp index 4b049ce..84e4dc4 100644 --- a/extension/src/register_types.cpp +++ b/extension/src/register_types.cpp @@ -39,7 +39,7 @@ void uninitialize_openvic2_types(ModuleInitializationLevel p_level) { memdelete(_test_singleton); Engine::get_singleton()->unregister_singleton("Simulation"); - memdelete(_test_singleton); + memdelete(_simulation); } extern "C" |