Fix instance destruction
This commit is contained in:
@@ -19,6 +19,7 @@ namespace Nz
|
|||||||
|
|
||||||
inline Instance::~Instance()
|
inline Instance::~Instance()
|
||||||
{
|
{
|
||||||
|
if (m_instance)
|
||||||
DestroyInstance();
|
DestroyInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user