ntdll: Don't change RtlWaitOnAddress size after user invoke_apc.

This makes the next iteration to immediately return STATUS_SUCCESS
because of compare_addr returning FALSE with size == 0.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2020-01-29 10:27:27 +01:00 committed by Alexandre Julliard
parent 3f10a59ff1
commit d03420da12
1 changed files with 0 additions and 1 deletions

View File

@ -2504,7 +2504,6 @@ NTSTATUS WINAPI RtlWaitOnAddress( const void *addr, const void *cmp, SIZE_T size
* but we don't want to wait */
abs_timeout = 0;
user_apc = TRUE;
size = 0;
}
}