Sdk: Fix uninitialization of components and systems
Former-commit-id: 9efda10439d00075c1c3df74216b03a4d079a46e [formerly 0d8ac4dda719e46b02f8b8b04216de1f602c4ebb] Former-commit-id: f1f00bf978ea87e977752aef2d2f7936fdaec15b
This commit is contained in:
parent
f6ac1c1943
commit
e4449392d6
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue