daemon: Remove __del__() methods.

This simplifies Python garbage collection.
This commit is contained in:
Tom Goff 2016-03-04 16:57:29 -05:00
parent ef85995cc6
commit 6f77086540
2 changed files with 0 additions and 7 deletions

View file

@ -78,9 +78,6 @@ class EventLoop(object):
self.running = False
self.start = None
def __del__(self):
self.stop()
def __run_events(self):
schedule = False
while True:

View file

@ -120,10 +120,6 @@ class Session(object):
"non-persistent session %s" % s.sessionid
s.shutdown()
def __del__(self):
# note: there is no guarantee this will ever run
self.shutdown()
def shutdown(self):
''' Shut down all emulation objects and remove the session directory.
'''