linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.24k stars 93 forks source link

D2D1CreateFactory causes no graceful exit on Windows #478

Closed wspl closed 2 years ago

wspl commented 2 years ago

Background information: https://github.com/linebender/druid/issues/2062

Simply put, piet_direct2d::D2DFactory::new() will cause the program to no longer exit normally via Ctrl+C when it reaches the D2D1CreateFactory method.

wspl commented 2 years ago

I found the cause of the problem and tried to fix it: https://github.com/linebender/piet/pull/479