From 5ef8fc93c4aa76d10f70b3406262eb7177c7b106 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 10 Nov 2013 22:24:11 +0100 Subject: hopefully fix aruco Signed-off-by: Stanislaw Halik --- ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ftnoir_tracker_aruco') 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) -- cgit v1.2.3