summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2016-07-25 04:05:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-25 04:05:30 +0000
commitb5f8fe16296e5bb4541833a04dee499ac94c496c (patch)
tree7d8a32439db1f178d43523767b251aa8befd3f3f /cmds/bootanimation/BootAnimation.cpp
parent25a8ff7ca3ba378c04e344feb52c49394fe70f89 (diff)
parentaf2a8a9ca6d08f673205140c2ae114aa0373b79a (diff)
Merge \\\\"bootanimation: Call eglReleaseThread in threadLoop\\\\" am: 189bbd9f6d am: 9495872add am: 41ebe86049
am: af2a8a9ca6 Change-Id: Ic03306aadf473d0c5cf6954288c57b759186c807
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index e634717cfe32..3087098bb0cc 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -320,6 +320,7 @@ bool BootAnimation::threadLoop()
mFlingerSurface.clear();
mFlingerSurfaceControl.clear();
eglTerminate(mDisplay);
+ eglReleaseThread();
IPCThreadState::self()->stopProcess();
return r;
}