Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius/service.py')
-rw-r--r--tutorius/service.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tutorius/service.py b/tutorius/service.py
index 4be1f41..8694cb5 100644
--- a/tutorius/service.py
+++ b/tutorius/service.py
@@ -129,7 +129,11 @@ class ServiceProxy:
@param unique_id The unique identification associated to this
process
"""
- remote_call(self._service.unregister_probe, (unique_id), block=False)
+ # We make it synchronous because otherwise on closing,
+ # activities kill the dbus session bus too fast for the
+ # asynchronous call to be completed
+ self._service.unregister_probe(unique_id)
+
if __name__ == "__main__":
import dbus.mainloop.glib