[RTL]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 15 Apr 2017 17:39:49 +0000 (17:39 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 15 Apr 2017 17:39:49 +0000 (17:39 +0000)
commit21cb633c9eaeb49ecea93f102ef4873a150a236a
tree58ab952c90afce020060ddc81d3b6c1da23cbe32
parent6de65ddcea0c33887e86fd3dac02998b2967681e
[RTL]
- In Wait_thread_proc, prioritize the cancel event over the wait object. This avoids executing the callback again after RtlDeregisterWait has been called.
Fixes ThemeStartCallback being called twice, causing a double free.
CORE-13074 #resolve

svn path=/trunk/; revision=74318
reactos/sdk/lib/rtl/wait.c