Potentially fix crash when network goes down.
This commit is contained in:
parent
325e89807c
commit
1d5ce7e7fc
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
throw new RuntimeException("object already destroyed");
|
||||
}
|
||||
}
|
||||
public void setNetworkReachable(boolean isReachable) {
|
||||
public synchronized void setNetworkReachable(boolean isReachable) {
|
||||
setNetworkStateReachable(nativePtr,isReachable);
|
||||
}
|
||||
public void setPlaybackGain(float gain) {
|
||||
|
|
Loading…
Reference in a new issue