mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix crash : try to use the core because of post event , though the core is already destroyed
This commit is contained in:
parent
a3f63cc70c
commit
8eda10d770
1 changed files with 0 additions and 7 deletions
|
|
@ -1437,13 +1437,6 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
|
|||
linphone_core_destroy(theLinphoneCore);
|
||||
LOGI(@"Destroy linphonecore %p", theLinphoneCore);
|
||||
theLinphoneCore = nil;
|
||||
|
||||
// Post event
|
||||
NSDictionary *dict =
|
||||
[NSDictionary dictionaryWithObject:[NSValue valueWithPointer:theLinphoneCore] forKey:@"core"];
|
||||
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneCoreUpdate
|
||||
object:LinphoneManager.instance
|
||||
userInfo:dict];
|
||||
}
|
||||
libStarted = FALSE;
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue