cc-4105: possibly fixed bug with __unregister removing keys that aren't there
This commit is contained in:
parent
5df5238eb3
commit
e570e4de90
|
@ -47,4 +47,6 @@ class EventContractor(Loggable):
|
|||
return True # We actually added something, hence we return true.
|
||||
|
||||
# events are unregistered automatically no need to screw around with them
|
||||
def __unregister(self, evt): del self.store[evt.path]
|
||||
def __unregister(self, evt):
|
||||
try: del self.store[evt.path]
|
||||
except Exception as e: self.unexpected_exception(e)
|
||||
|
|
Loading…
Reference in New Issue