mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
kill toontown crash when you directly close the window
This commit is contained in:
parent
3ea746efb4
commit
53a3560e97
@ -37,6 +37,8 @@ class GarbageReport(Job):
|
|||||||
if threaded == False:
|
if threaded == False:
|
||||||
jobMgr.finish(self)
|
jobMgr.finish(self)
|
||||||
|
|
||||||
|
self.numGarbage = 0
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# do the garbage collection
|
# do the garbage collection
|
||||||
wasOn = gcDebugOn()
|
wasOn = gcDebugOn()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user