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

Update before dispose #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

git-iason
Copy link

I added support to call BeginUpdate before and CommitUpdate after any action that modifies the file system.

Without that, the SharpZip library threw exceptions when attempting to create a file or directory because BeginInvoke had not been called. Further, CommitUpdate was only being called on Dispose(), so updates would not be available until the filesystem had been disposed, and then re instantiated.

added beginupdate and endupdate before and after createfile, createdirectory, and delete
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.

1 participant