diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index ebcc9ff0451f5..2601fc6b6f40c 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -323,6 +323,7 @@ bool BootAnimation::threadLoop() mFlingerSurface.clear(); mFlingerSurfaceControl.clear(); eglTerminate(mDisplay); + eglReleaseThread(); IPCThreadState::self()->stopProcess(); return r; }