diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-10 22:24:11 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-10 22:24:11 +0100 |
commit | 5ef8fc93c4aa76d10f70b3406262eb7177c7b106 (patch) | |
tree | 607183d4f07c553d421ea0fe3f62fbf6b491e8ba | |
parent | ffb0893dc2ccf937c8414f4df88426308c822324 (diff) |
hopefully fix aruco
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index b1b58dec..ab27d7c6 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -144,6 +144,7 @@ Tracker::Tracker() Tracker::~Tracker() { + QMutexLocker foo(&mtx); stop = true; wait(); if (layout) @@ -364,10 +365,6 @@ start: if (frame.rows > 0) videoWidget->update_image(frame); } - - camera->release(); - camera.release(); - camera = nullptr; } bool Tracker::GiveHeadPoseData(double *data) |