def _on_destroy(self, widget): """ Disconnect signals @param widget as Gtk.Widget """ LazyLoadingView._on_destroy(self, widget) if self.__signal is not None: Lp().art.disconnect(self.__signal)
def _on_destroy(self, widget): """ Disconnect signals @param widget as Gtk.Widget """ LazyLoadingView._on_destroy(self, widget) if self.__signal_id1: App().playlists.disconnect(self.__signal_id1) self.__signal_id1 = None if self.__signal_id2: App().playlists.disconnect(self.__signal_id2) self.__signal_id2 = None