From 32d9f199ff5bdbe922db0bddeb8a0eeb7767faf9 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sat, 4 Apr 2015 18:08:53 -0700 Subject: [PATCH] Let's flush this socket just in case --- src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java b/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java index cee6c8db..1e58fbb8 100644 --- a/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java +++ b/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java @@ -125,6 +125,7 @@ public class LanLink extends BaseLink { callback.sendProgress((int)(progress / np.getPayloadSize())); } } + socket.flush(); stream.close(); Log.i("KDE/LanLink", "Finished sending payload"); } catch (Exception e) {