commit | a998dff5d49a423aaf7097aa8f96bf5bdc681d25 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri Mar 23 18:58:36 2012 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Mar 23 19:04:36 2012 -0700 |
tree | a76c4185a5c57c4f2e4aa423845b7e42bc59fe83 | |
parent | 5d6999e1ca457948e06792ea6259ffa947c9fa81 [diff] |
Destroy the hardware renderer when ViewRootImpl's die is post-poned Bug #6109035 ViewRootImpl.die() can be invoked in such a way that doDie() will be executed later. On memory limited device, an eglTerminate() may happen before doDie() is executed which leads to unstable behaviors. This change makes sure the renderer is destroyed as soon as possible. Change-Id: I3322410cdd744b464951e2055aeade6069d1d673