diff options
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index f219dd2a..48163a42 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -25,6 +25,12 @@ #include "opentrack/tracker.h" #include <QFileDialog> +#ifndef _WIN32 +# include <unistd.h> +#else +# include <windows.h> +#endif + FaceTrackNoIR::FaceTrackNoIR() : pose_update_timer(this), kbd_quit(QKeySequence("Ctrl+Q"), this), @@ -77,6 +83,7 @@ FaceTrackNoIR::~FaceTrackNoIR() { stopTracker(); save(); + _exit(0); } void FaceTrackNoIR::open() { |