-
Notifications
You must be signed in to change notification settings - Fork 91
Fix launch_ros_testing shutdown race in WaitForTopics #511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rolling
Are you sure you want to change the base?
Conversation
mjcarroll
commented
Dec 10, 2025
- Change thread type daemon=False to follow some best practice from the pybind11 community: [BUG]: Python API calls in destructors are unsafe outside the main thread pybind/pybind11#3274
- Fix WaitForTopics context manager to appropriately clean up after itself in the case that topics aren't available
- Shutdown WaitForTopics in another test cas
* Change thread type daemon=False to follow some best practice from the pybind11 community: pybind/pybind11#3274 * Fix WaitForTopics context manager to appropriately clean up after itself in the case that topics aren't available * Shutdown WaitForTopics in another test case Signed-off-by: Michael Carroll <[email protected]>
|
Pulls: #511 |
MiguelCompany
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from fixing the linter, this looks good to me.
I checked with colcon and gdb, on RelWithDebInfo and Debug, with Fast DDS 3.2.x and 3.4.x, and never got any crash or misbehavior.
|
I see something weird in the Windows CI. The output says there is only one test in |
Signed-off-by: Michael Carroll <[email protected]>