Closed kellybirr closed 4 months ago
Hi, thanks for the awesome open-source project. I found a missing using
that was causing temporary resource leaks and file locks. This PR should resolve the issue.
Thanks for your nice words. I also have to fix one more issue before I release a new nuget package.
The old code did not dispose the file stream opened by
file.OpenRead()
until the garbage collector caught it. This change explicitly disposes the file stream and releases the file lock and the resources.