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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user