Sdk: Fix uninitialization of components and systems
Former-commit-id: 84f6ce6c6801dc3f4df528781892fa54783115bf [formerly 34e78a610a036478be9fff2fcb28b7d5cd17c13f] Former-commit-id: da5197094f56618eb065223c0c128f14e2a0f3f5
This commit is contained in:
parent
a8952d5717
commit
d5b354c379
|
|
@ -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