diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index c597ed2cc61e7..25b264ecff103 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; }