We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235ed8b commit 16bf636Copy full SHA for 16bf636
1 file changed
rclrs/src/lifecycle_node/state.rs
@@ -110,13 +110,13 @@ impl State {
110
if state_handle.is_null() {
111
return Ok(());
112
}
113
-
114
- //if !self.from_raw {
+
+ if !self.from_raw {
115
// SAFETY: By this point, we should have confirmed that state_handle still exists
116
unsafe {
117
rcl_lifecycle_state_fini(state_handle.as_mut().unwrap(), &self.allocator).ok()?;
118
119
- //}
+ }
120
121
Ok(())
122
0 commit comments