[PATCH] winmm: Do not blindly reset device when already stopped

Maarten Lankhorst m.b.lankhorst at gmail.com
Tue Feb 28 16:06:03 CST 2012

If it takes longer than 10ms to reset device an infinite loop could occur
where MsgWaitForMultipleObjects will never process window messages because
device event keeps firing.
Furthermore the device was already stopped so no need to stop twice to begin with?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-winmm-Do-not-blindly-reset-device-when-already-stopp.patch
Type: text/x-patch
Size: 771 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120228/c80c1605/attachment-0001.bin>

More information about the wine-patches mailing list