Core/HandledObject: Add OnHandledObjectDestruction signal

This commit is contained in:
Lynix
2019-12-15 15:41:41 +01:00
parent 437f60dbd4
commit ec0eed9eff
3 changed files with 6 additions and 0 deletions

View File

@@ -105,6 +105,8 @@ namespace Nz
{
if (m_handleData)
{
OnHandledObjectDestruction(this);
m_handleData->object = nullptr;
m_handleData.reset();
}