Sdk: Fix uninitialization of components and systems

Former-commit-id: 84f6ce6c6801dc3f4df528781892fa54783115bf [formerly 34e78a610a036478be9fff2fcb28b7d5cd17c13f]
Former-commit-id: da5197094f56618eb065223c0c128f14e2a0f3f5
This commit is contained in:
Lynix 2016-06-01 08:34:44 +02:00
parent a8952d5717
commit d5b354c379
1 changed files with 6 additions and 0 deletions

View File

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