dbus: don't unset the searching client until we received the signal from tuhi
The API requires us to send the signal after stop
This commit is contained in:
parent
1e31e6cba7
commit
cae296e030
|
@ -431,7 +431,6 @@ class TuhiDBusServer(_TuhiDBus):
|
||||||
|
|
||||||
connection.signal_unsubscribe(self._searching_client[1])
|
connection.signal_unsubscribe(self._searching_client[1])
|
||||||
self.is_searching = False
|
self.is_searching = False
|
||||||
self._searching_client = None
|
|
||||||
self.emit("search-stop-requested")
|
self.emit("search-stop-requested")
|
||||||
|
|
||||||
def _on_search_stop(self, status):
|
def _on_search_stop(self, status):
|
||||||
|
|
Loading…
Reference in New Issue