From 96698c5783a94fa65b60629e7c2fa8b8fcb18a2d Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 3 Jul 2007 17:05:23 +0200 Subject: [PATCH] In some cases, when an event is scheduled against a subclass of Object, and if no one owns a reference directly to this object, the object is alive, has a refcount of zero and the method ran when the event expires runs against the raw pointer which means that we are manipulating an object with a refcount of zero. So, we must disable this check. This is really evil but I see no way to work around this. --- src/core/object.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/object.cc b/src/core/object.cc index 9b4812c42..e70762cf1 100644 --- a/src/core/object.cc +++ b/src/core/object.cc @@ -118,7 +118,6 @@ Object::~Object () Ptr Object::DoQueryInterface (InterfaceId iid) const { - NS_ASSERT (Check ()); const Object *currentObject = this; do { NS_ASSERT (currentObject != 0);