From e4449392d64125f58f8fc076cb16ece8b44ee9e6 Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 1 Jun 2016 08:34:44 +0200 Subject: [PATCH] Sdk: Fix uninitialization of components and systems Former-commit-id: 9efda10439d00075c1c3df74216b03a4d079a46e [formerly 0d8ac4dda719e46b02f8b8b04216de1f602c4ebb] Former-commit-id: f1f00bf978ea87e977752aef2d2f7936fdaec15b --- SDK/src/NDK/Sdk.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SDK/src/NDK/Sdk.cpp b/SDK/src/NDK/Sdk.cpp index 21bfd236f..7f29bb18e 100644 --- a/SDK/src/NDK/Sdk.cpp +++ b/SDK/src/NDK/Sdk.cpp @@ -112,6 +112,12 @@ namespace Ndk // Uninitialize the SDK s_referenceCounter = 0; + // Components + BaseComponent::Uninitialize(); + + // Systems + BaseSystem::Uninitialize(); + // Uninitialize the engine #ifndef NDK_SERVER