Skip to content

Commit a956477

Browse files
dbohdanmsteveb
authored andcommitted
jcov, jtime, jtrace: fix not removing callback
1 parent 0f09dd9 commit a956477

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/jcov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ xtrace xcov
2525
# Catch exit but not error
2626
set rc [catch -noerror -exit {source $argv0} msg opts]
2727

28-
xtrace
28+
xtrace {}
2929

3030
proc show-coverage {filename} {
3131
set info $::coverage($filename)

examples/jtime

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ xtrace jtime::xtrace
3131
# Catch exit but not error
3232
set rc [catch -noerror -exit {source $argv0} msg opts]
3333

34-
xtrace
34+
xtrace {}
3535

3636
set info $jtime::fileinfo($argv0)
3737

examples/jtrace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ xtrace jtime::xtrace
2020
# Catch exit but not error
2121
set rc [catch -noerror -exit {source $argv0} msg opts]
2222

23-
xtrace
23+
xtrace {}

0 commit comments

Comments
 (0)