def destroy(self): PlaybackAdapter.destroy(self) self.__set_tray_hover_state(False) notification = self.notification # must be called on separate thread, since it is a synchronous call and might block self.__close_notification(notification) self.notification.clear_actions() self.notification = None self.__exaile = None
def destroy(self): """ Cleanups """ PlaybackAdapter.destroy(self) ButtonControl.destroy(self)