summaryrefslogtreecommitdiff
path: root/ridljar
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-05 16:48:08 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-05 18:37:19 +0200
commit185ca3f1010283f84009c160f0dc564f71039b0c (patch)
tree80a28a7ec3830743825dd9d742a88163b7001a32 /ridljar
parente0766ffbf7fae8f250d735ed1473909fcec412c6 (diff)
call WebSocketClient.close from XConnection.close
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'ridljar')
-rw-r--r--ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java1
1 files changed, 1 insertions, 0 deletions
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();
}
/**