summaryrefslogtreecommitdiff
path: root/libs/utils/FileMap.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2013-05-30 16:07:36 -0700
committer Mathias Agopian <mathias@google.com> 2013-05-30 16:07:36 -0700
commit4e620ddce344e946ced992f61a69c367ff92fe24 (patch)
treee54399a961f03e961411366deee168a3f9bd6e31 /libs/utils/FileMap.cpp
parent9e3cb55b8f6f007906872decfe3b8a2541e94dd2 (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
Diffstat (limited to 'libs/utils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions