diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-28 06:28:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-28 06:28:01 +0100 |
commit | 9f163b82da3ddb08d312d5e935d9792225ac2c69 (patch) | |
tree | 8800f9eb39bf268270121b00b34c4eff9e7c8cbe | |
parent | c90a9eac842ddfaef9a9a21d9a9df7eaeeba0b67 (diff) |
tracker/pt: hold mutex over camera in dtor just to be 100% safe
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |