Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49664

Destroying Android QML WebView element does not destroy (leaks) native webview itself

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC, 5.6.0
    • 5.5.1
    • WebView
    • None
    • Qt 5.5.1 from online installer
      Debian 7 amd64
      Android API level 22
      Android SDK Tools 24.4.1
      Android NDK r10e
      Sony XPERIA C6603 (Android 5.1.1)
    • Android

    Description

      I have attached example app to reproduce issue.

      Problem is, that even if WebView.Component.onDestruction is called (you can see console.log output noting that), console.log() output from Chromium itself is still going on (you can see "ping" every one second).

      Even so, if you create/destroy WebView multiple times in app provided, you can see that "pings" multiply, meaning that every WebView creation creates native web view but does not destroy it.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            talkless Vincas Dargis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes