libcamera/test/log
Paul Elder 1469d5e26e libcamera: ProcessManager: make ProcessManager lifetime explicitly managed
If any Process instances are destroyed after the ProcessManager is
destroyed, then a segfault will occur.

Fix this by making the lifetime of the ProcessManager explicit, and make
the CameraManager construct and deconstruct (automatically, via a member
variable) the ProcessManager.

Update the tests accordingly.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2020-10-07 19:17:31 +09:00
..
log_api.cpp test: log: log_api: Close open fds on error paths 2020-06-04 11:02:38 +01:00
log_process.cpp libcamera: ProcessManager: make ProcessManager lifetime explicitly managed 2020-10-07 19:17:31 +09:00
meson.build licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00