From 9f163b82da3ddb08d312d5e935d9792225ac2c69 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 28 Dec 2016 06:28:01 +0100 Subject: tracker/pt: hold mutex over camera in dtor just to be 100% safe --- tracker-pt/ftnoir_tracker_pt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 33a40825..f3e9dc4b 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -31,7 +31,7 @@ Tracker_PT::~Tracker_PT() set_command(ABORT); wait(); - // fast start/stop causes breakage + QMutexLocker l(&camera_mtx); camera.stop(); } -- cgit v1.2.3