sim2bot.shutdown_managed_bridges¶
shutdown_managed_bridges() -> None
¶
Terminate bridge processes started by
ensure_bridge in this process.
Bridges that were already running and merely discovered are not stopped.
Returns:
-
None–Already-running bridges not owned by this process remain active.
Source code in sim2bot/bridge.py
Practical examples¶
Examples use objects discovered from the current scene rather than hard-coded robot metadata.
Explicit cleanup
Clean up after a test session
Guidance¶
Usage tip
Normal interpreter shutdown already cleans up managed bridges; explicit cleanup is useful in tests and long-running hosts.
Common error
A bridge that was already running before ensure_bridge() is not owned and will not be stopped.