Fix LC iterate issue

This commit is contained in:
Sylvain Berfini 2012-09-19 11:48:48 +02:00
parent 812c6a9302
commit 573ad6c889

View file

@ -807,8 +807,12 @@ public final class LinphoneManager implements LinphoneCoreListener {
try {
mTimer.cancel();
mLc.destroy();
}
catch (RuntimeException e) {
e.printStackTrace();
}
finally {
mServiceContext.unregisterReceiver(instance.mKeepAliveReceiver);
} finally {
mLc = null;
instance = null;
}