From 38db8023584aa41be20e78632f2722c8481e52fc Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Thu, 23 Apr 2020 15:16:03 +0200 Subject: [PATCH] lib: ostream-wrapper - Allow parent output being closed in wrapper_ostream_continue(). This happens when wrapper_ostream_output_destroyed() is called while waiting in flush wait loop. --- src/lib/ostream-wrapper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ostream-wrapper.c b/src/lib/ostream-wrapper.c index 2a3b78f963..5ba6e2ea93 100644 --- a/src/lib/ostream-wrapper.c +++ b/src/lib/ostream-wrapper.c @@ -1081,7 +1081,6 @@ void wrapper_ostream_continue(struct wrapper_ostream *wostream) if (wostream->flush_waiting) { /* Inside wrapper_ostream_flush_wait() */ - i_assert(!wostream->output_closed); ioloop = wostream->flush_ioloop; } if (stream->ostream.closed || -- 2.47.3