diff --git a/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java b/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java index bea937c0..58a42302 100644 --- a/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java +++ b/src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java @@ -61,7 +61,7 @@ public class LanLink extends BaseLink { // because it's probably trying to find me and // potentially ask for pairing. - private Socket socket = null; + private volatile Socket socket = null; private LinkDisconnectedCallback callback;