From 185ca3f1010283f84009c160f0dc564f71039b0c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 5 Sep 2023 16:48:08 +0100 Subject: call WebSocketClient.close from XConnection.close MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to drop the connection, otherwise we stick around until we timeout after trying to exit Change-Id: Ia4ca95b022b9234219da4658512603ebf918ff35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156577 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java | 1 + 1 file changed, 1 insertion(+) (limited to 'ridljar') diff --git a/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java b/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java index fb81c4ff8801..9f3c0afbb5fe 100644 --- a/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java +++ b/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java @@ -222,6 +222,7 @@ public class WebsocketConnection extends WebSocketClient implements XConnection, */ public void close() throws com.sun.star.uno.RuntimeException { if (DEBUG) System.err.println("##### " + getClass().getName() + " - socket closed"); + super.close(); } /** -- cgit