diff --git a/direct/src/showbase/GarbageReport.py b/direct/src/showbase/GarbageReport.py index 6f18f7b82f..292a504e2d 100755 --- a/direct/src/showbase/GarbageReport.py +++ b/direct/src/showbase/GarbageReport.py @@ -37,6 +37,8 @@ class GarbageReport(Job): if threaded == False: jobMgr.finish(self) + self.numGarbage = 0 + def run(self): # do the garbage collection wasOn = gcDebugOn()