libutil: don't report DecompressionStream shutdown errors

we already report errors that happen during reads via exceptions
rethrown from read. reporting errors during destruction too is a
source of confusion for users since these errors are not usually
relevant and just the decompressor thread reporting short reads.
shorts reads during shutdown are not an error, they're expected.

fixes #1138

Change-Id: I7983ef0ed7722460f1d683bc8171a454b3d06e90
This commit is contained in:
eldritch horrors
2026-02-24 15:28:56 +01:00
parent 6b4de44461
commit 3b0e2ddd0a
-1
View File
@@ -369,7 +369,6 @@ struct DecompressionStream : DecompressorPipes, AsyncInputStream
try {
thread.get();
} catch (...) {
ignoreExceptionInDestructor();
}
}
}