mirror of https://github.com/FreeRDP/FreeRDP
Fixed inverted bAttached setting.
If bAttached is TRUE, the resources of the event are not cleaned up on CloseHandle.
This commit is contained in:
parent
282f15795d
commit
776f15e135
|
@ -376,7 +376,7 @@ int SetEventFileDescriptor(HANDLE hEvent, int FileDescriptor, ULONG mode)
|
|||
return -1;
|
||||
|
||||
event = (WINPR_EVENT*) Object;
|
||||
event->bAttached = FALSE;
|
||||
event->bAttached = TRUE;
|
||||
event->Mode = mode;
|
||||
event->pipe_fd[0] = FileDescriptor;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue