Bright created CB-928:
-------------------------

             Summary: __init method are called two times when CDVViewController 
init.
                 Key: CB-928
                 URL: https://issues.apache.org/jira/browse/CB-928
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 1.8.1
            Reporter: Bright
            Assignee: Shazron Abdullah


The problem is that __init method are called two times when CDVViewController 
is inited, which caused the log are printed two times in console in 
printMultitaskingInfo method.

- (id) initWithNibName:(NSString*)nibNameOrNil bundle:(NSBundle*)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
      return [self __init]; // Can this [self __init] be removed?

}

- (id) init
{
    self = [super init];
    return [self __init];
}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to