Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not close
nil
stream when it failed to open (#87)
When stream fails to open during loading of TOML file, `stream` remains set to `nil`. The `finally` block then triggers SIGSEGV when it tries to close the stream that was never fully opened. Only install the `finally` block once `stream` was initialized to fix this.
- Loading branch information