summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2020-08-10 16:54:46 (GMT)
committersebres <sebres@users.sourceforge.net>2020-08-10 16:54:46 (GMT)
commit6c0be70d2b1cc5dbfd1277556ac27ea2e39be4bb (patch)
tree5781be6e37405c49f267aa239475a2dc461d6390 /tests/chanio.test
parent9d14ed87d0aa6ef6818c11d31f55600228c8612b (diff)
downloadtcl-6c0be70d2b1cc5dbfd1277556ac27ea2e39be4bb.zip
tcl-6c0be70d2b1cc5dbfd1277556ac27ea2e39be4bb.tar.gz
tcl-6c0be70d2b1cc5dbfd1277556ac27ea2e39be4bb.tar.bz2
amend to [8054e19451]: clean up timeout timer event (avoid timing issues on further tests)
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index 93375a0..66f4a30 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -5734,6 +5734,7 @@ test chan-io-46.1 {Tcl event loop vs multiple interpreters} {testfevent fileeven
set timer [after 10 lappend x timeout]
testfevent cmd $script
vwait x
+ after cancel $timer
testfevent cmd {chan close $f}
list [testfevent cmd {set x}] [testfevent cmd {info commands after}]
} {{f triggered: foo bar} after}