Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C600933B for ; Sat, 16 Jun 2012 16:39:44 +0000 (UTC) Received: (qmail 90883 invoked by uid 500); 16 Jun 2012 16:39:44 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 90840 invoked by uid 500); 16 Jun 2012 16:39:44 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 90832 invoked by uid 99); 16 Jun 2012 16:39:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2012 16:39:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E8805141663 for ; Sat, 16 Jun 2012 16:39:43 +0000 (UTC) Date: Sat, 16 Jun 2012 16:39:43 +0000 (UTC) From: "Bright (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1465655583.21806.1339864783956.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (CB-928) __init method are called two times when CDVViewController init. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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