mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Registered upkeep with atexit.
This commit is contained in:
parent
da8ee2a758
commit
a169b64740
@ -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):
|
||||
###
|
||||
|
Loading…
Reference in New Issue
Block a user