ntdll: Do not queue a completion status if pipe ops fail synchronously.
commitbf6025e0e111d265bdf1c56871be9a73955e9ea2
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 22 Sep 2017 10:13:25 +0000 (22 13:13 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 25 Sep 2017 21:29:10 +0000 (25 23:29 +0200)
treeabc2e8f2b73b0a1748fc34315d8671d1d27b08eb
parent6eec34a9edb56463ca24f8e4c5356f228fecb673
ntdll: Do not queue a completion status if pipe ops fail synchronously.

This fixes random crashes when exiting Chromium or shutting down CEF.
It is similar to 7a1142035d7ee04839417176ff93fd0953e2a4e1, just for pipes.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernel32/tests/pipe.c
dlls/ntdll/file.c