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

Commit 3dba1e4d authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Move destroying the web view to the WVC thread (previously it was on the UI thread)

Change-Id: I5a48734c6a244eadd1d60659f8e02ebb889a8fc1
parent c413d54c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -856,6 +856,7 @@ final class WebViewCore {
                                mBrowserFrame = null;
                                mSettings.onDestroyed();
                                mNativeClass = 0;
                                mWebView = null;
                            }
                            break;

@@ -1406,7 +1407,6 @@ final class WebViewCore {
                        Message.obtain(null, EventHub.RESUME_TIMERS));
            }
            mEventHub.blockMessages();
            mWebView = null;
        }
    }