From: Danil Platonov Date: Sun, 25 Jan 2026 11:16:37 +0000 (-0800) Subject: fix http stream not being closed fully X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=26523139a89e039f7cd34332e5da7cde9c75ee85;p=scryer-prolog.git fix http stream not being closed fully --- diff --git a/src/machine/streams.rs b/src/machine/streams.rs index 0d88ca58..f966d91f 100644 --- a/src/machine/streams.rs +++ b/src/machine/streams.rs @@ -1537,6 +1537,7 @@ impl Stream { } #[cfg(feature = "http")] Stream::HttpWrite(mut http_stream) => { + http_stream.inner_mut().drop(); http_stream.drop_payload(); Ok(())