Fix assertion failure on SIGINT
nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): Assertion `finished' failed.
This commit is contained in:
parent
fbbc4d8dda
commit
2691498b5c
|
@ -146,7 +146,6 @@ struct XzSink : CompressionSink
|
|||
|
||||
~XzSink()
|
||||
{
|
||||
assert(finished);
|
||||
lzma_end(&strm);
|
||||
}
|
||||
|
||||
|
@ -217,7 +216,6 @@ struct BzipSink : CompressionSink
|
|||
|
||||
~BzipSink()
|
||||
{
|
||||
assert(finished);
|
||||
BZ2_bzCompressEnd(&strm);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue