[
https://issues.apache.org/jira/browse/CB-12657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991175#comment-15991175
]
ASF GitHub Bot commented on CB-12657:
-------------------------------------
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.
> android 4.3 exit app, WebView.destroy() called while still attached
> -------------------------------------------------------------------
>
> Key: CB-12657
> URL: https://issues.apache.org/jira/browse/CB-12657
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 6.0.0
> Environment: android huawei g620-i75 mobile
> Reporter: Thomsen Wang
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]