Browse Source

it is a hack until Roger and Schuyler/Darren reaches a new scheme on how to handle deletes

Asad M. Zaman 20 years ago
parent
commit
4f4dc15937
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/distributed/DistributedObjectAI.py

+ 3 - 1
direct/src/distributed/DistributedObjectAI.py

@@ -125,7 +125,9 @@ class DistributedObjectAI(DirectObject):
             if not hasattr(self, "doNotDeallocateChannel"):
                 if self.air:
                     self.air.deallocateChannel(self.doId)
-            self.air = None
+            # Asad: As per Roger's suggestion, turn off the following line until a solution is
+            # Thought out of how to prevent this delete message or to handle this message better
+            #self.air = None
             if hasattr(self, 'parentId'):
                 del self.parentId
             del self.zoneId