Sdk: Fix uninitialization of components and systems

Former-commit-id: 9efda10439d00075c1c3df74216b03a4d079a46e [formerly 0d8ac4dda719e46b02f8b8b04216de1f602c4ebb]
Former-commit-id: f1f00bf978ea87e977752aef2d2f7936fdaec15b
This commit is contained in:
Lynix 2016-06-01 08:34:44 +02:00
parent f6ac1c1943
commit e4449392d6
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