forked from ros2/rclcpp
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race on 'on_parameter_event'
The callback 'on_parameter_event' was internally accessing node_base_, which could be already destroyed. This commit stores the node name, which is what the callback wants to know, so we don't have to access the node to obtain it.
- Loading branch information
Mauro Passerino
committed
Oct 10, 2023
1 parent
0719ef5
commit 7d9f7e6
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters