summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
authorSai Kiran Korwar <skirank@nvidia.com>2016-07-25 03:46:44 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-25 03:46:44 +0000
commit9495872addfe27a68500b39deb9fab6e2b1d3eff (patch)
tree582661f5da205ffd6486a0cee7c7bb73ab3b376a /cmds/bootanimation/BootAnimation.cpp
parent05160d70d14180fef3782a63dff2e822b51c3cf5 (diff)
parent189bbd9f6d4e1871da1639c96f5eb65ed3a30f2c (diff)
Merge \"bootanimation: Call eglReleaseThread in threadLoop\"
am: 189bbd9f6d Change-Id: Iaa5b3e60548ee2cce19cb4c31a6274d0ad877189
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 c597ed2cc61e..25b264ecff10 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -314,6 +314,7 @@ bool BootAnimation::threadLoop()
mFlingerSurface.clear();
mFlingerSurfaceControl.clear();
eglTerminate(mDisplay);
+ eglReleaseThread();
IPCThreadState::self()->stopProcess();
return r;
}