Improve error trapping, actually make it work

This commit is contained in:
df 2021-03-20 00:54:20 +00:00
parent 39ab2d4505
commit 9540733e13
1 changed files with 2 additions and 0 deletions

View File

@ -862,6 +862,7 @@ ts method getkey {mode} {
lappend keys $key
}
}
} on error {} {
} finally {
catch {$fd close}
}
@ -881,6 +882,7 @@ ts method getkey {mode} {
lappend keys $key
}
}
} on error {} {
} finally {
catch {$fd close}
}