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
1 changed files with 0 additions and 2 deletions
|
@ -146,7 +146,6 @@ struct XzSink : CompressionSink
|
||||||
|
|
||||||
~XzSink()
|
~XzSink()
|
||||||
{
|
{
|
||||||
assert(finished);
|
|
||||||
lzma_end(&strm);
|
lzma_end(&strm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +216,6 @@ struct BzipSink : CompressionSink
|
||||||
|
|
||||||
~BzipSink()
|
~BzipSink()
|
||||||
{
|
{
|
||||||
assert(finished);
|
|
||||||
BZ2_bzCompressEnd(&strm);
|
BZ2_bzCompressEnd(&strm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue