http://bugs.winehq.org/show_bug.cgi?id=22291
--- Comment #18 from Wylda wylda@volny.cz 2010-05-29 00:02:45 --- Created an attachment (id=28365) --> (http://bugs.winehq.org/attachment.cgi?id=28365) Patch for wine-1.2-rc2
I have absolutely no idea how making the actual socket blocking affects shutdown behavior. This is a UDP socket though, so it might. Something like the below might help:
Yes it works and now wine doesn't hang on exit, but cleanly exits. The patch was mangled, so adding as attachment + adjusting for 1.2-rc2.
BTW: StrongDC++ is available under GPLv2, so if you want to have a look what's inside.