cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12657) android 4.3 exit app, WebView.destroy() called while still attached
Date Mon, 01 May 2017 17:49:04 GMT

    [ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message