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>
This commit is contained in:
Caolán McNamara
2023-09-05 16:48:08 +01:00
parent e0766ffbf7
commit 185ca3f101

View File

@@ -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();
}
/**