mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 00:58:16 +00:00
[MMEBUDDY]
Prevent double close of a handle CID #731736 svn path=/trunk/; revision=62666
This commit is contained in:
parent
aaba242bd5
commit
3cf4d36849
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue