Registered upkeep with atexit.

This commit is contained in:
Jeremy Fincher 2003-09-12 07:48:01 +00:00
parent da8ee2a758
commit a169b64740

View File

@ -69,8 +69,6 @@ def flush():
for f in flushers:
f()
atexit.register(flush)
try:
ignore(tempvars)
except NameError:
@ -90,6 +88,8 @@ def upkeep(): # Function to be run on occasion to do upkeep stuff.
debug.msg(msg, 'verbose')
return collected
atexit.register(upkeep)
'''
def superReload(oldmodule):
###