From 60f7e70bfbab194b19b342dc3438614064c3a1c6 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 20 Jan 2020 19:35:42 +0000 Subject: vcl: close UNO streams with closeInput. We can end up with lingering XBufferedThreadedStreams from the package ZIP code otherwise. Change-Id: I2a489c975b6f460c38317cb0bb93c2aa7ccc383d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87099 Tested-by: Jenkins CollaboraOffice Reviewed-by: Michael Meeks --- vcl/source/image/ImplImageTree.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl') diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx index 22fd194b3a8d..182cfa0d4abd 100644 --- a/vcl/source/image/ImplImageTree.cxx +++ b/vcl/source/image/ImplImageTree.cxx @@ -145,6 +145,7 @@ std::shared_ptr wrapStream(css::uno::Reference< css::io::XInputS break; } s->Seek(0); + stream->closeInput(); return s; } -- cgit