Fix LC iterate issue
This commit is contained in:
parent
812c6a9302
commit
573ad6c889
1 changed files with 5 additions and 1 deletions
|
@ -807,8 +807,12 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
try {
|
try {
|
||||||
mTimer.cancel();
|
mTimer.cancel();
|
||||||
mLc.destroy();
|
mLc.destroy();
|
||||||
|
}
|
||||||
|
catch (RuntimeException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
finally {
|
||||||
mServiceContext.unregisterReceiver(instance.mKeepAliveReceiver);
|
mServiceContext.unregisterReceiver(instance.mKeepAliveReceiver);
|
||||||
} finally {
|
|
||||||
mLc = null;
|
mLc = null;
|
||||||
instance = null;
|
instance = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue