tuhi: do not stop discovering if search is on
If a client requested both listen and search, on listen off on the device, the discovery was stopped too which lead to some unbalanced state in the client.
This commit is contained in:
parent
db2f37c561
commit
3f75c927dc
|
@ -305,7 +305,7 @@ class Tuhi(GObject.Object):
|
|||
d.connect_device()
|
||||
|
||||
def _on_listening_updated(self, tuhi_dbus_device, pspec):
|
||||
listen = False
|
||||
listen = self._search_stop_handler is not None
|
||||
for dev in self.devices.values():
|
||||
if dev.listening:
|
||||
listen = True
|
||||
|
|
Loading…
Reference in New Issue