Changed my mind

This commit is contained in:
Josh Yelon 2005-11-07 18:32:57 +00:00
parent 9bf5453c52
commit 9ae159c066
1 changed files with 4 additions and 5 deletions

View File

@ -7,11 +7,10 @@
# fsm-redefine 0
# want-dev 0
if (__builtins__.__dict__.has_key("running-epydoc")==0):
import gc
gc.set_debug(gc.DEBUG_LEAK)
gc.collect()
print gc.garbage
import gc
gc.set_debug(gc.DEBUG_LEAK)
gc.collect()
print gc.garbage
# Inside DistributedObjectAI, you can uncomment the __del__ function to
# see when your objects are being deleted (or not)