From 3d9f9b1b299251c5c28d74e951b4447193ad7ade Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Sep 2023 13:32:43 +0200 Subject: [PATCH] loplugin:unodispose in binaryurp Change-Id: Iab83b304ab7928dc4ca88a90f3184e2b2e7bf741 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156842 Tested-by: Jenkins Reviewed-by: Noel Grandin --- binaryurp/source/bridge.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 523bbbf14ac5..f88fc10ca6ed 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -920,6 +920,8 @@ void Bridge::dispose() { // from within an incoming or outgoing remote call, as passive_.wait() would // otherwise deadlock: passive_.wait(); + connection_.clear(); + provider_.clear(); } void Bridge::addEventListener(