cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8811) Detached WebView on Android with Foreground Service
Date Wed, 08 Apr 2015 01:19:12 GMT

    [ https://issues.apache.org/jira/browse/CB-8811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484497#comment-14484497
] 

Andrew Grieve commented on CB-8811:
-----------------------------------

I believe this should be fixed in cordova-android@master since we now call webview.destroy()
when the activity is destroyed.

> Detached WebView on Android with Foreground Service
> ---------------------------------------------------
>
>                 Key: CB-8811
>                 URL: https://issues.apache.org/jira/browse/CB-8811
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.6.3
>         Environment: Android
>            Reporter: Craig Sabbey
>
> Creating a foreground service and closing the app, from the back button or task list,
causes webviews to detach instead of close. The detached webviews takes up memory and keep
doing work. The detached webviews can be seen using Chrome's web inspector. 
> Example code here: http://stackoverflow.com/questions/29284018/detached-webview-with-service



--
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


Mime
View raw message