Core/ObjectHandle: Fix Reset(ObjectHandle&&) not clearing the pointer

This commit is contained in:
Jérôme Leclercq
2018-08-16 18:06:02 +02:00
parent d83c12c2d3
commit e4d547316d
2 changed files with 3 additions and 0 deletions

View File

@@ -140,6 +140,8 @@ namespace Nz
handle.m_object = nullptr;
object->UpdateHandle(&handle, this);
}
else
m_object = nullptr;
}
/*!