[0.4.9][WIN32K:NTUSER] Fix CORE-12243 OS-freezing when closing nLite
authorJoachim Henze <Joachim.Henze@reactos.org>
Tue, 3 Nov 2020 02:54:16 +0000 (03:54 +0100)
committerJoachim Henze <Joachim.Henze@reactos.org>
Tue, 3 Nov 2020 02:54:16 +0000 (03:54 +0100)
commitbf8cbe2769a6c32b4eb74a2f6055c488ed41a734
treeeb52c40fd16aec95288ac3e33f6f5ee83bcceb77
parent2a9249b546190e8bfab9055112e56bebf082ec2b
[0.4.9][WIN32K:NTUSER] Fix CORE-12243 OS-freezing when closing nLite

This fixes CORE-12243 and allows .NET applications like nLite 1.4.9.3
to exit properly without freezing the whole OS.

The actual fix was picked from 0.4.11-dev-78-g
4d48b88bfbfcb6845e8742f78154156e984f6363
"[WIN32K:NTUSER] co_UserDestroyWindow(): Simplify the destruction of the owned windows."

but it made sense to also pick the related 0.4.11-dev-77-g
e286c4c5202ac2d6e7909ee05cdc95f76b8f4897
"[WIN32K:NTUSER] Optimize IntWinListOwnedPopups() a little bit. Improve a trace."

and 0.4.11-dev-76-g
f644a50cd77492dc06615a632ca500a1687aa63b
"[WIN32K:NTUSER] Code formatting only."
win32ss/user/ntuser/window.c