Open ToppingXu opened 4 years ago
FYI @pavel-kirienko
I suppose it was implemented to support restarting the thread afterwards. By the time the flag is reset the thread is already stopped so it has no effect. I don't think it's a mistake.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
https://github.com/PX4/Firmware/blob/master/src/drivers/uavcan/uavcan_servers.cpp#L577
shouldn't here be _subnode_thread_should_exit = true after thread exit