diff options
author | Umang Jain <email@uajain.com> | 2020-07-27 12:32:59 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-27 22:30:07 +0300 |
commit | c8edfe29c185dade3aa584363d91643755fe7e02 (patch) | |
tree | ee097342f3c63a6bd58ede8993d70bac6ffc69b0 /src/qcam/assets | |
parent | e349cb0f8a89057b08c7f080d89011b42d3f88e6 (diff) |
qcam: Fix camera reference leak on hot-unplug
If the currently streaming camera is hot-unplugged, a camera reference
was still held by MainWindow::camera_, preventing it to be destructed,
until qcam window is closed. Plug the leak in the hot-unplug handler
itself.
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets')
0 files changed, 0 insertions, 0 deletions