Merge change 26595 into eclair

* changes:
  Move destroying the web view to the WVC thread (previously it was on the UI thread)
This commit is contained in:
Android (Google) Code Review
2009-09-23 12:53:31 -04:00

View File

@@ -856,6 +856,7 @@ final class WebViewCore {
mBrowserFrame = null; mBrowserFrame = null;
mSettings.onDestroyed(); mSettings.onDestroyed();
mNativeClass = 0; mNativeClass = 0;
mWebView = null;
} }
break; break;
@@ -1406,7 +1407,6 @@ final class WebViewCore {
Message.obtain(null, EventHub.RESUME_TIMERS)); Message.obtain(null, EventHub.RESUME_TIMERS));
} }
mEventHub.blockMessages(); mEventHub.blockMessages();
mWebView = null;
} }
} }