本文整理汇总了Python中direct.showbase.Job.Job.destroy方法的典型用法代码示例。如果您正苦于以下问题:Python Job.destroy方法的具体用法?Python Job.destroy怎么用?Python Job.destroy使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类direct.showbase.Job.Job
的用法示例。
在下文中一共展示了Job.destroy方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: destroy
# 需要导入模块: from direct.showbase.Job import Job [as 别名]
# 或者: from direct.showbase.Job.Job import destroy [as 别名]
def destroy(self):
#print 'GarbageReport.destroy'
del self._args
del self.garbage
# don't get rid of this, we might need it
#del self.numGarbage
del self.referrersByReference
del self.referrersByNumber
del self.referentsByReference
del self.referentsByNumber
if hasattr(self, 'cycles'):
del self.cycles
del self._report
if hasattr(self, '_reportStr'):
del self._reportStr
Job.destroy(self)
示例2: destroy
# 需要导入模块: from direct.showbase.Job import Job [as 别名]
# 或者: from direct.showbase.Job.Job import destroy [as 别名]
def destroy(self):
self._creator = None
Job.destroy(self)
示例3: destroy
# 需要导入模块: from direct.showbase.Job import Job [as 别名]
# 或者: from direct.showbase.Job.Job import destroy [as 别名]
def destroy(self):
ContainerLeakDetector.removePrivateObj(self.__dict__)
Job.destroy(self)
示例4: destroy
# 需要导入模块: from direct.showbase.Job import Job [as 别名]
# 或者: from direct.showbase.Job.Job import destroy [as 别名]
def destroy(self):
self._doneCallback = None
Job.destroy(self)
return