added comment for destructor
This commit is contained in:
parent
fb28c3a6c5
commit
a42210e321
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ class WatchSyncer(ReportHandler,Loggable):
|
|||
def __reset_queue(self): self.__queue = []
|
||||
|
||||
def __del__(self):
|
||||
# Ideally we would like to do a little more to ensure safe shutdown
|
||||
#this destructor is completely untested and it's unclear whether
|
||||
#it's even doing anything useful. consider removing it
|
||||
if self.events_in_queue():
|
||||
self.logger.warn("Terminating with events still in the queue...")
|
||||
if self.requests_in_queue():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue