mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[MMEBUDDY]
Prevent double close of a handle CID #731736 svn path=/trunk/; revision=62666
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user