diff --git a/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java b/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java index f6629349..ce4dc7c9 100644 --- a/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java +++ b/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java @@ -67,20 +67,12 @@ public class LanLink extends BaseLink { @Override public void disconnect() { - Log.i("LanLink/Disconnect","socket:"+ socket.hashCode()); - - if (socket == null) { - Log.w("KDE/LanLink", "Not yet connected"); - return; - } - try { socket.close(); } catch (IOException e) { e.printStackTrace(); } - } //Returns the old socket