Skip to content

gst: release all Camera references before stopping the camera manager

When closing the libcamera src, clear the queue of pending requests, which may hold references to their respective Camera instance.

According to CameraManager documentation the application must release all references it held to cameras before it can stop() the manager. Deleting a Camera after its manager has been disposed was leading to a crash in the destructor.

Merge request reports