Fixed crash due to duplicate resource cleanup (MessagePipe freed in channel)

This commit is contained in:
Armin Novak 2013-11-12 10:22:04 +01:00
parent 343c9ebba5
commit 23b5845660

View File

@ -930,8 +930,6 @@ static void rdpsnd_virtual_channel_event_terminated(rdpsndPlugin* rdpsnd)
{
MessagePipe_PostQuit(rdpsnd->MsgPipe, 0);
WaitForSingleObject(rdpsnd->thread, INFINITE);
MessagePipe_Free(rdpsnd->MsgPipe);
CloseHandle(rdpsnd->thread);
rdpsnd->channelEntryPoints.pVirtualChannelClose(rdpsnd->OpenHandle);