Sweden-Number/dlls/kernel32
Zebediah Figura 44fc44880f server: Always set the async result when the APC object is destroyed.
This can happen if the async is terminated while there is no thread to queue
the APC to (as in the relevant test), or if the client dies before getting the
APC, or before transferring the APC results back to the server.

This also fixes a leak of async objects present since 61abc500f5. If a process
dies while accept asyncs are pending, the asyncs will be terminated but will
not find a valid thread to queue the APC to, and thus async_set_result() and
the completion callback are never called.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 08:54:41 +01:00
..
nls kernel32: Update sr-Latn locale definition. 2021-02-04 15:41:02 +01:00
tests server: Always set the async result when the APC object is destroyed. 2021-02-25 08:54:41 +01:00
Makefile.in kernel32: Always use conhost for ReadConsoleW. 2020-10-13 18:19:31 +02:00
atom.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
comm.c kernel32: Don't use wine/server.h. 2021-02-16 23:01:37 +01:00
computername.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
console.c kernel32: Don't use wine/server.h. 2021-02-16 23:01:37 +01:00
debugger.c ntdll: Implement NtSetInformationDebugObject(). 2021-02-01 11:10:06 +01:00
file.c kernel32: Import ReadFile from kernelbase. 2020-11-19 21:44:55 +01:00
heap.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
kernel32.spec ntdll: Implement a no-op __chkstk for arm64. 2020-12-21 16:55:53 +01:00
kernel_main.c kernel32: Remove no longer used variables. 2020-12-02 19:08:04 +01:00
kernel_private.h kernel32: Remove no longer used variables. 2020-12-02 19:08:04 +01:00
lcformat.c kernel32: Use wide-char string literals. 2020-11-17 09:52:27 +01:00
locale.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
locale_rc.rc kernel32: Add sr-Latn-RS locale definition. 2021-02-04 15:41:01 +01:00
lzexpand.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
module.c kernel32: Use wide-char string literals. 2020-11-17 09:52:27 +01:00
path.c kernel32: Remove no longer used variables. 2020-12-02 19:08:04 +01:00
powermgnt.c kernel32: Use set_ntstatus() in more places. 2020-05-26 13:10:34 +02:00
process.c kernel32: Don't use wine/server.h. 2021-02-16 23:01:37 +01:00
profile.c kernel32: Use wide-char string literals. 2020-11-17 09:52:27 +01:00
resource.c kernel32: Use wide-char string literals. 2020-11-17 09:52:27 +01:00
sync.c kernel32: Write the wait handle before executing the callback. 2021-02-11 22:26:36 +01:00
tape.c
thread.c kernel32: Implement BaseThreadInitThunk in assembly also for PE builds. 2020-11-23 21:05:04 +01:00
toolhelp.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
version.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
version.rc
virtual.c kernel32: Build with msvcrt. 2020-09-28 19:38:42 +02:00
volume.c kernel32: Use wide-char string literals. 2020-11-17 09:52:27 +01:00
winerror.mc kernel32: Add string for E_FAIL error. 2020-11-03 11:24:16 +01:00