Skip to content

Update before dispose#17

Open
git-iason wants to merge 2 commits intobobvanderlinden:masterfrom
git-iason:updateBeforeDispose
Open

Update before dispose#17
git-iason wants to merge 2 commits intobobvanderlinden:masterfrom
git-iason:updateBeforeDispose

Conversation

@git-iason
Copy link
Copy Markdown

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