Sdk: Fix uninitialization of components and systems

Former-commit-id: 143a252c13269402f6c69c8831f7f1aef0c89c0c [formerly 2cd2160a2cd6da2c0763ca97157dd1349ec28233]
Former-commit-id: 1b1fbb0770b993babde90c789250da0bcc8fbcb4
This commit is contained in:
Lynix 2016-06-01 08:34:44 +02:00
parent f461efce0d
commit 94ff113930
1 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,12 @@ namespace Ndk
// Uninitialize the SDK // Uninitialize the SDK
s_referenceCounter = 0; s_referenceCounter = 0;
// Components
BaseComponent::Uninitialize();
// Systems
BaseSystem::Uninitialize();
// Uninitialize the engine // Uninitialize the engine
#ifndef NDK_SERVER #ifndef NDK_SERVER