mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
microRTPS_bridge: mark task as not running when running stop()
This commit is contained in:
committed by
Daniel Agar
parent
c22dc2beaf
commit
80eca30689
@@ -261,6 +261,8 @@ int micrortps_client_main(int argc, char *argv[])
|
||||
|
||||
if (nullptr != transport_node) { transport_node->close(); }
|
||||
|
||||
_rtps_task = -1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user