def destroy(self): for func in notify_funcs: Implementation.unregisterNotify(self.setColors, 'ccpnmr.Analysis.Color', func) PulldownList.destroy(self)