diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-15 22:41:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-15 22:41:53 +0100 |
commit | 32192e466dc3153f5874123b51f012ef9e562ff4 (patch) | |
tree | 1db8fe0035a9d5de0aedb78dc56d7c9e4937b44a /facetracknoir | |
parent | 505cee88bcffb5167d7eb400465adb49610c61fe (diff) |
also free the second tracker's dialog window
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 640672a4..98c8c2c2 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -423,6 +423,12 @@ void FaceTrackNoIR::stopTracker( ) { delete pFilterDialog; pFilterDialog = nullptr; } + if (pSecondTrackerDialog) + { + pSecondTrackerDialog->unRegisterTracker(); + delete pSecondTrackerDialog; + pSecondTrackerDialog = nullptr; + } if ( tracker ) { delete tracker; |