Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing key from cache before disposing #98

Merged
merged 1 commit into from Mar 6, 2023
Merged

removing key from cache before disposing #98

merged 1 commit into from Mar 6, 2023

Conversation

srolemberg
Copy link
Contributor

@srolemberg srolemberg commented Mar 5, 2023

This request corrects the situation described in this Issue #94: Unhandled Exception: FileSystemException: File closed:

An error is thrown every time you try to load a new file a second time in the application's lifecycle.

With the fix, during dispose, the code snippet tries to check if the file still exists in the static cache and removes it if it finds it.

@lesnitsky lesnitsky merged commit cd6fa81 into lesnitsky:master Mar 6, 2023
@lesnitsky
Copy link
Owner

available on pub on version 4.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants