Fix 'DbBsddbRead' object has no attribute '_Callback__callback_map'

Fixes #10219
Same idea as 87a5412 for Gramps50
This commit is contained in:
prculley 2017-10-06 14:32:25 -05:00
parent c01ee8ed7d
commit bedebc524b

View File

@ -310,8 +310,7 @@ class Callback(object):
for key in keymap:
self.__callback_map[signal_name].remove(key)
self.__callback_map[signal_name] = None
self.__callback_map = None
del self.__callback_map
self.__callback_map = {}
def emit(self, signal_name, args=tuple()):
"""