We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0c7fdf commit cfc6bddCopy full SHA for cfc6bdd
src/ros_tcp_endpoint/thread_pauser.py
@@ -6,10 +6,10 @@ def __init__(self):
6
self.result = None
7
8
def sleep_until_resumed(self):
9
- with condition:
10
- condition.wait()
+ with self.condition:
+ self.condition.wait()
11
12
def resume_with_result(self, result):
13
self.result = result
14
15
- condition.notify()
+ self.condition.notify()
src/ros_tcp_endpoint/unity_service.py
@@ -57,4 +57,4 @@ def unregister(self):
57
Returns:
58
59
"""
60
- self.service.unregister()
+ self.service.shutdown()
0 commit comments