Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7979b58a authored by Adam Powell's avatar Adam Powell Committed by Gerrit Code Review
Browse files

Merge "Memory leak due to bad destroy sequence"

parents 4b0ed017 6169bcf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1278,6 +1278,7 @@ public final class WebViewCore {
                                mBrowserFrame = null;
                                mSettings.onDestroyed();
                                mNativeClass = 0;
                                WebCoreThreadWatchdog.unregisterWebView(mWebViewClassic);
                                mWebViewClassic = null;
                            }
                            break;
@@ -1982,7 +1983,6 @@ public final class WebViewCore {
            mEventHub.sendMessageAtFrontOfQueue(
                    Message.obtain(null, EventHub.DESTROY));
            mEventHub.blockMessages();
            WebCoreThreadWatchdog.unregisterWebView(mWebViewClassic);
        }
    }