Skip to content

Commit cfc6bdd

Browse files
Minor bug fixes (#65)
1 parent e0c7fdf commit cfc6bdd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/ros_tcp_endpoint/thread_pauser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ def __init__(self):
66
self.result = None
77

88
def sleep_until_resumed(self):
9-
with condition:
10-
condition.wait()
9+
with self.condition:
10+
self.condition.wait()
1111

1212
def resume_with_result(self, result):
1313
self.result = result
14-
with condition:
15-
condition.notify()
14+
with self.condition:
15+
self.condition.notify()

src/ros_tcp_endpoint/unity_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ def unregister(self):
5757
Returns:
5858
5959
"""
60-
self.service.unregister()
60+
self.service.shutdown()

0 commit comments

Comments
 (0)