commit | d5e2937933c67d379fa2cf9e00b349acfd38872e | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Thu Jun 07 11:35:35 2012 -0700 |
committer | John Reck <jreck@google.com> | Thu Jun 07 13:14:57 2012 -0700 |
tree | 20a2a5d21e1fd71f2f974c41b6e1e131d9c40eb5 | |
parent | 4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f [diff] |
Eliminate gap between finalize() and destroy() Bug: 6569073 Only nativeDestroy and nativeStopGL need to be called on the UI thread, so split up destroyImpl into 3 functions, and only have the native destroy be pushed to the UI thread if necessary. Also make the work that is delayed be static without references to the finalizing WebView to allow it to be fully deleted immediately after finalization. Change-Id: I4e424051e69df0bc409af95ca3f3d2b9e58a6b75