summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2016-07-25 03:36:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-07-25 03:36:57 +0000
commit189bbd9f6d4e1871da1639c96f5eb65ed3a30f2c (patch)
treef0e05870c42d24f9901475cc4bda8b978cc1dd62 /cmds/bootanimation/BootAnimation.cpp
parent5152fd909cf3bb9c7d27f0379f3dc1db619d2b8a (diff)
parent3eee9fbb6df1dbbcefe1f0dfdf1295c95ddf3279 (diff)
Merge "bootanimation: Call eglReleaseThread in threadLoop"
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 8f361ce1a779..44b432e69fbc 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -322,6 +322,7 @@ bool BootAnimation::threadLoop()
mFlingerSurface.clear();
mFlingerSurfaceControl.clear();
eglTerminate(mDisplay);
+ eglReleaseThread();
IPCThreadState::self()->stopProcess();
return r;
}