attempt to fix tester.nim file handle leak
This commit is contained in:
parent
82af6387d9
commit
5112677904
2 changed files with 1 additions and 0 deletions
|
|
@ -123,6 +123,7 @@ proc callCompiler(cmdTemplate, filename, options: string): TSpec =
|
|||
if x =~ pegOfInterest:
|
||||
# `s` should contain the last error message
|
||||
s = x
|
||||
close(p)
|
||||
result.msg = ""
|
||||
result.file = ""
|
||||
result.outp = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue