Tcl Source Code

Check-in [97243eeba2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [055240025a]: Tcl_DeleteEventSource called from a setup or check proc freed the event source while Tcl_DoOneEvent or Tcl_ServiceAll was walking the list. During a traversal only mark the source deleted, and free it when the outermost traversal ends. New "testevent deletesource" for the tests.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | notifier-delete-source-in-loop
Files: files | file ages | folders
SHA3-256: 97243eeba2343876ef136df95e5c38797a0ff1bbb3eebc8c33f868a97cee7f57
User & Date: serhiy.storchaka 2026-10-18 16:50:28.496
Context
2026-11-11
14:14
Fix [055240025a]: Tcl_DeleteEventSource called from a setup or check proc check-in: 9c4d1a15b7 user: jan.nijtmans tags: trunk, main
2026-10-18
16:50
Fix [055240025a]: Tcl_DeleteEventSource called from a setup or check proc freed the event source whi... closed check-in: 97243eeba2 user: serhiy.storchaka tags: notifier-delete-source-in-loop
2026-10-17
22:11
Remove useless comment check-in: 009f42c4ac user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclNotify.c.
Changes to generic/tclTest.c.
Changes to tests/notify.test.