mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 05:37:43 +00:00
Socket should be volatile to prevent data-race
CCBUG: 368438
This commit is contained in:
parent
e6bc78f013
commit
b7418c1db6
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user