From 2691498b5c68a9c8908da296bf867bfc7f9a068f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 14 Mar 2017 13:13:29 +0100 Subject: [PATCH] Fix assertion failure on SIGINT nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): Assertion `finished' failed. --- src/libutil/compression.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc index 723b072af..8cb1dde66 100644 --- a/src/libutil/compression.cc +++ b/src/libutil/compression.cc @@ -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); }