mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
attempt to fix tester.nim file handle leak
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user