Fix instance destruction
This commit is contained in:
parent
b774a879b6
commit
0ace9a5e8d
|
|
@ -19,6 +19,7 @@ namespace Nz
|
||||||
|
|
||||||
inline Instance::~Instance()
|
inline Instance::~Instance()
|
||||||
{
|
{
|
||||||
|
if (m_instance)
|
||||||
DestroyInstance();
|
DestroyInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue