diff options
Diffstat (limited to 'src/config/toml.nim')
-rw-r--r-- | src/config/toml.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/toml.nim b/src/config/toml.nim index c5a93b8a..2c4550b5 100644 --- a/src/config/toml.nim +++ b/src/config/toml.nim @@ -447,5 +447,6 @@ proc parseToml*(inputStream: Stream): TomlValue = state.consumeComment() of '\t', ' ': discard else: state.syntaxError(fmt"invalid character after value: {c}") + inputStream.close() return TomlValue(vt: VALUE_TABLE, t: state.root) |