diff options
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 1dd2cf1b..85e75756 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -424,6 +424,7 @@ bool bTracker2Confid = false; if(::WaitForSingleObject(m_StopThread, 0) == WAIT_OBJECT_0)
{
dinkeyboard->Unacquire(); // Unacquire keyboard
+ dinkeyboard->Release();
din->Release(); // Release DirectInput
// Set event
|