Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D27BC200C77 for ; Mon, 1 May 2017 19:48:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D1361160BB9; Mon, 1 May 2017 17:48:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 19F6C160BA0 for ; Mon, 1 May 2017 19:48:35 +0200 (CEST) Received: (qmail 35170 invoked by uid 500); 1 May 2017 17:48:35 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 35149 invoked by uid 99); 1 May 2017 17:48:34 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2017 17:48:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D46AAE0885; Mon, 1 May 2017 17:48:34 +0000 (UTC) From: infil00p To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-android pull request #375: CB-12657 android: fixed android 4.3 exit ... Content-Type: text/plain Message-Id: <20170501174834.D46AAE0885@git1-us-west.apache.org> Date: Mon, 1 May 2017 17:48:34 +0000 (UTC) archived-at: Mon, 01 May 2017 17:48:37 -0000 Github user infil00p commented on a diff in the pull request: https://github.com/apache/cordova-android/pull/375#discussion_r114163718 --- Diff: framework/src/org/apache/cordova/engine/SystemWebViewEngine.java --- @@ -326,6 +329,12 @@ public void setPaused(boolean value) { @Override public void destroy() { webView.chromeClient.destroyLastDialog(); + nativeToJsMessageQueue.reset(); --- End diff -- Why are we resetting the nativeToJsMessageQueue on destroy? We may want to send some events before we kill the WebView. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org