Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates jSnapLoader to 1.0.0-stable. The stable version ships some optimization changes to the core API and to the
LibraryInfo
component which entail:close()
on the ZipFile resources itself (which closes all the associated enteries' streams) and not a single file entry of it.I've tested the example locally multiple times; with normal execution flow, and with exceptional flows. Hopefully, there won't be any regressions or breaking changes so far on other systems.
Find more about these changes in the stable version release notes.
Notice:
The first parameter in the
LibraryInfo
constructor method in this example is a placeholder path, and is never used unless the selected NativeDynamicLibrary object has a nullary library path (actually this placeholder will have contemplated features in the upcoming releases).