* vfslib.tcl: Applied contributed patch for bug
3412801. Clean up watch
timers for memchan vfs.
+2011-11-28 Steve Huntley <stephen.huntley@alum.mit.edu>
+
+ * vfslib.tcl: Applied contributed patch for bug 3412801. Clean up watch
+ timers for memchan vfs.
+
2011-11-28 Steve Huntley <stephen.huntley@alum.mit.edu>
* zipvfs.tcl: Applied contributed patch for bug 3395782. Enables
}
finalize {
unset buf pos name
+ foreach event {read write} {
+ upvar #0 ::vfs::_memchan(watch,$event) watch
+ if {[info exists watch] && ([set idx [lsearch -exact $watch $chan]] >= 0)} {
+ set watch [lreplace $watch $idx $idx]
+ }
+ }
}
seek {
foreach {offset base} $args break