RS disconnect synchronized
This commit is contained in:
parent
49e8a0b7c4
commit
90729cffe6
|
@ -151,7 +151,7 @@ public class BLEComm {
|
|||
isConnecting = false;
|
||||
}
|
||||
|
||||
public void disconnect(String from) {
|
||||
public synchronized void disconnect(String from) {
|
||||
log.debug("disconnect from: " + from);
|
||||
|
||||
// cancel previous scheduled disconnection to prevent closing upcomming connection
|
||||
|
|
Loading…
Reference in a new issue