diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-06-30 17:20:01 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-07-01 23:48:03 +0200 |
commit | 08b2e03a8ac4758e4973d7fd549026ebeb28ff29 (patch) | |
tree | 12a5a92cfe59d316eeaee1c40e826f52d0e558f5 /test/pipeline/ipu3/ipu3_pipeline_test.cpp | |
parent | dba2de3a0feddddf2774b75c1bcc8ed0c6bd54c5 (diff) |
libcamera: timer: Stop timer when it is deleted
If a timer is running while it's deleted it is still register with the
event dispatcher. This causes a segmentation fault when the timer
time-out and its signal is emitted. Fix this my stopping the timer when
it's deleted.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/pipeline/ipu3/ipu3_pipeline_test.cpp')
0 files changed, 0 insertions, 0 deletions