Quantcast
Channel: DotNetZip Library
Viewing all articles
Browse latest Browse all 664

Created Issue: Attempting to add a dicrectory to a disposed zip ends up in a deadlock [16072]

$
0
0
Using a powershell script, I was creating multiple zip files and forgot to new up my zip object. This resulted in a deadlock at ParallelDeflateOutputStream.EmitPendingBuffers

I think the problem is here: _newlyCompressedBlob.WaitOne();

Either way a simple check that the object is not disposed and throwing an exception should prevent this.. Took me forever to figure out that it was my fault.

Viewing all articles
Browse latest Browse all 664

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>