On 12/4/19 6:06 am, Alexey Ivanov wrote:
Yes, we still need passiveDCList. A DC can be moved to the passive list by 
DisposeThreadGraphicsInfo function in GDIWindowSurfaceData.cpp. This is called 
not on the toolkit thread, so we have to defer releasing the DC in this case.

However, I agree, we can simplify releasing DCs when on the toolkit thread by 
skipping the passive list. Yet having two different approaches could be error 
prone.

Ok, then let's leave the current fix as-is.


--
Best regards, Sergey.

Reply via email to