def disconnect(self): if self._scene != None: self._scene.remove_name_listener(self._on_name_changed) self._scene.remove_color_listener(self._on_color_changed) SceneComponent.disconnect(self) self._serato_interface = None return
def disconnect(self): if self._scene != None: self._scene.remove_name_listener(self._on_name_changed) self._scene.remove_color_listener(self._on_color_changed) SceneComponent.disconnect(self) self._serato_interface = None return
def disconnect(self): if self._scene is not None: try: self._scene.remove_color_listener(self._on_color_changed) self._scene.remove_name_listener(self._on_name_changed) except: pass SceneComponent.disconnect(self)