mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
fix crash enterBackground when current view is DevicesListView
This commit is contained in:
parent
565ad48532
commit
164b0f58c3
2 changed files with 3 additions and 2 deletions
|
|
@ -69,8 +69,8 @@
|
|||
} else if (PhoneMainView.instance.currentView == ChatConversationInfoView.compositeViewDescription) {
|
||||
ChatConversationInfoView *view = VIEW(ChatConversationInfoView);
|
||||
[view removeCallbacks];
|
||||
} else if (PhoneMainView.instance.currentView == RecordingsListView.compositeViewDescription) {
|
||||
// To avoid crash if recording is still played.
|
||||
} else if (PhoneMainView.instance.currentView == RecordingsListView.compositeViewDescription || PhoneMainView.instance.currentView == DevicesListView.compositeViewDescription) {
|
||||
// To avoid crash
|
||||
[PhoneMainView.instance changeCurrentView:DialerView.compositeViewDescription];
|
||||
}
|
||||
[CoreManager.instance stopLinphoneCore];
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
#import "UIConfirmationDialog.h"
|
||||
#import "Utils.h"
|
||||
#import "LaunchScreen.h"
|
||||
#import "DevicesListView.h"
|
||||
|
||||
#define DYNAMIC_CAST(x, cls) \
|
||||
({ \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue