[MMEBUDDY]

Prevent double close of a handle

CID #731736

svn path=/trunk/; revision=62666
This commit is contained in:
Pierre Schweitzer 2014-04-06 16:55:53 +00:00
parent aaba242bd5
commit 3cf4d36849

View file

@ -143,10 +143,6 @@ TerminateSoundThread(
WaitResult = WaitForSingleObject(Thread->Handle, INFINITE);
SND_ASSERT( WaitResult == WAIT_OBJECT_0 );
/* Close the thread and invalidate the handle */
CloseHandle(Thread->Handle); /* Is this needed? */
Thread->Handle = INVALID_HANDLE_VALUE;
return MMSYSERR_NOERROR;
}