commit | 4e620ddce344e946ced992f61a69c367ff92fe24 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu May 30 16:07:36 2013 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu May 30 16:07:36 2013 -0700 |
tree | e54399a961f03e961411366deee168a3f9bd6e31 | |
parent | 9e3cb55b8f6f007906872decfe3b8a2541e94dd2 [diff] |
free EGL resources associated to a thread when it terminates destroyed but current-to-a-thread resources are only destroyed when they're made not-current; however, we were not destroying those when the thread itself terminated, causing these resources to be leaked forever. we now install a tls-key destructor that takes care of this by calling eglReleaseThread upon thread termination. Bug: 9209776 Change-Id: I88298a34e3a27488eb81eab76717715569c7d57c