Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43B2518343 for ; Wed, 16 Dec 2015 23:08:52 +0000 (UTC) Received: (qmail 60811 invoked by uid 500); 16 Dec 2015 23:08:47 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 60737 invoked by uid 500); 16 Dec 2015 23:08:47 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 60667 invoked by uid 99); 16 Dec 2015 23:08:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 23:08:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A8CB02C1F56 for ; Wed, 16 Dec 2015 23:08:46 +0000 (UTC) Date: Wed, 16 Dec 2015 23:08:46 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-10102) statusbar removeObserver is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-10102: ---------------------------------- Environment: iOS Component/s: (was: iOS) > statusbar removeObserver is wrong > --------------------------------- > > Key: CB-10102 > URL: https://issues.apache.org/jira/browse/CB-10102 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar > Environment: iOS > Reporter: jcesarmobile > Assignee: jcesarmobile > Priority: Minor > > The current code is wrong > {code}[[NSNotificationCenter defaultCenter] removeObserver:self forKeyPath:UIApplicationDidChangeStatusBarFrameNotification]; > {code} > It should be > {code} > [[NSNotificationCenter defaultCenter]removeObserver:self name:UIApplicationDidChangeStatusBarOrientationNotification object:nil]; > {code} > It might crash on plugin dealocation -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org