Fixed crash with NzContext::Destroy
Fixed crash when calling NzContext::Destroy two times without recreating a new context
This commit is contained in:
parent
dd4cb97a37
commit
49353cb636
|
|
@ -191,6 +191,7 @@ void NzContext::Destroy()
|
|||
|
||||
m_impl->Destroy();
|
||||
delete m_impl;
|
||||
m_impl = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue