Fix deadlock in Debug builds on object dtor
This commit is contained in:
@@ -154,7 +154,7 @@ void ObjectsRemoval::Dispose()
|
||||
|
||||
Object::~Object()
|
||||
{
|
||||
#if BUILD_DEBUG
|
||||
#if BUILD_DEBUG && 0
|
||||
// Prevent removing object that is still reverenced by the removal service
|
||||
ASSERT(!ObjectsRemovalService::IsInPool(this));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user