ソースを参照

add debug statements to track down crash 25179

Redmond Urbino 19 年 前
コミット
b97985557d
1 ファイル変更2 行追加0 行削除
  1. 2 0
      direct/src/distributed/RelatedObjectMgr.py

+ 2 - 0
direct/src/distributed/RelatedObjectMgr.py

@@ -232,6 +232,8 @@ class RelatedObjectMgr(DirectObject.DirectObject):
                     taskMgr.remove(doLaterName)
             
                 objects, doIdsPending = self.__generateObjectList(doIdList)
+                if None in objects:
+                    self.notify.warning('calling %s with None.\n objects=%s\n doIdsPending=%s\n doIdList=%s\n' % (allCallback,objects,doIdsPending,doIdList))
                 if allCallback:
                     allCallback(objects)