Fix instance destruction

This commit is contained in:
Lynix 2020-03-13 18:45:56 +01:00
parent b774a879b6
commit 0ace9a5e8d
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ namespace Nz
inline Instance::~Instance()
{
if (m_instance)
DestroyInstance();
}