[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] [Linphone] Logout implemenation

From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] [Linphone] Logout implemenation
Date: Tue, 10 Jun 2014 11:28:55 +0200

Could you give us the backtrace of your bad access?


On Tue, Jun 10, 2014 at 5:22 AM, Vicky Dhas <address@hidden> wrote:
Hello Folks,

I have implemented the Logout functionality where I want to end the session and bring back the user to Login screen. Can you please advice what all items need to be released.

As After popping all the view controllers from the view stack  using following code, I can go to login screen. 

ISSUE: But Once I login back and try to call any person I get BAD Access crash of app in iOS.

 [LinphoneLogger logc:LinphoneLoggerLog format:"PhoneMainView: Pop root view"];

    if([viewStack count] > 0) {


        for (int counter = 0; counter < [viewStack count]; counter++) {

        [viewStack removeObjectAtIndex:counter];


        WizardViewController *controller = DYNAMIC_CAST([[PhoneMainView instance] changeCurrentView:[WizardViewController compositeViewDescription]], WizardViewController);

        if(controller != nil) {

            [controller reset];

            [controller fillDefaultValues];



Am I missing something in releasing the parameters / defaults.

Thanks for your kind help in advance,

Vicky Dhas 

Please consider the impact to the environment before printing this email

Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]