summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java2
1 files changed, 2 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 16a5ad17f1e6..a3aed227c81d 100644
--- a/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java
+++ b/ridljar/com/sun/star/lib/connections/websocket/WebsocketConnection.java
@@ -278,6 +278,7 @@ public class WebsocketConnection extends WebSocketClient implements XConnection,
try {
_inputStreamWriter.write(messageBytes);
+ _inputStreamWriter.flush();
} catch (IOException e) {
notifyListeners_error(new com.sun.star.uno.Exception(e));
return;
@@ -317,6 +318,7 @@ public class WebsocketConnection extends WebSocketClient implements XConnection,
try {
_inputStreamWriter.write(messageBytes);
+ _inputStreamWriter.flush();
} catch (IOException e) {
notifyListeners_error(new com.sun.star.uno.Exception(e));
return;