From c759dc6f494b45fc4a9b4a7f5dbd4ff9e24e0b43 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 3 Jul 2015 10:17:45 +0200 Subject: fix crash on msvc --- ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index 4c0913e7..2d113ac5 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -36,6 +36,7 @@ Tracker_PT::~Tracker_PT() delete video_widget; video_widget = NULL; if (video_frame->layout()) delete video_frame->layout(); + camera.stop(); } void Tracker_PT::set_command(Command command) -- cgit v1.2.3