kete: fix disconnect signals on Searcher
We should disconnect the signals on stop() no matter what state we are
This commit is contained in:
parent
403eb51ea7
commit
e1e5a9357b
|
@ -325,8 +325,8 @@ class Searcher(Worker):
|
|||
if self.manager.searching:
|
||||
logger.debug('Stopping search')
|
||||
self.manager.stop_search()
|
||||
self.manager.disconnect(self.s1)
|
||||
self.manager.disconnect(self.s2)
|
||||
self.manager.disconnect(self.s1)
|
||||
self.manager.disconnect(self.s2)
|
||||
|
||||
def _on_notify_search(self, manager, pspec):
|
||||
if not manager.searching:
|
||||
|
|
Loading…
Reference in New Issue