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 d8d7972 commit df78ac7Copy full SHA for df78ac7
rclrs/src/node/publisher.rs
@@ -106,7 +106,7 @@ where
106
// SAFETY: No preconditions for the functions called.
107
// The unsafe variables created get converted to safe types before being returned
108
unsafe {
109
- let raw_topic_pointer = rcl_publisher_get_topic_name(&*self.handle.lock());
+ let raw_topic_pointer = rcl_publisher_get_topic_name(&*self.rcl_publisher_mtx.lock());
110
CStr::from_ptr(raw_topic_pointer)
111
.to_string_lossy()
112
.into_owned()
0 commit comments