Fixed crash with NzContext::Destroy

Fixed crash when calling NzContext::Destroy two times without recreating
a new context
This commit is contained in:
Lynix 2012-05-31 23:42:39 +02:00
parent dd4cb97a37
commit 49353cb636
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ void NzContext::Destroy()
m_impl->Destroy();
delete m_impl;
m_impl = nullptr;
}
}