mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 04:30:28 +08:00
microRTPS_bridge: mark task as not running when running stop()
This commit is contained in:
1 parent
c22dc2beaf
commit
80eca30689
1 file changed
+2
@@ -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