The attached patch fixes a crash closing a udp channel on Windows.
The problem is encountered when:
Then a queued file readable callback for the deleted channel can be
executed from within the vwait, causing the crash. Maybe the crash
could also occur using the normal wish event loop, but I have only
seen it with a vwait following the channel close.
The attached generic/udp_tcl.c update uses Tcl_DeleteEvents to remove
queued events for a channel when it is closed.
It is based on the udp_tcl.c revision 1.48
Thanks for the fix. I'll take a look at it.
Related
Patches: #14