pub fn shutdown() -> PylonResult<()>Expand description
Explicitly terminates the Pylon runtime.
Returns an error if any crate::InstantCamera, crate::DeviceInfo,
or RuntimeGuard is still alive. Intended for use alongside
init when deterministic teardown is required.
Under normal usage the runtime terminates automatically when the last handle is dropped, so calling this is not necessary.