bootanimation: Call eglReleaseThread in threadLoop
Add eglReleaseThread call in the threadLoop function to ensure that the thread properly cleans up its resources before exiting. Change-Id: I90dff47370e7acaecc046c43f0bb274214a29f77
This commit is contained in:
committed by
Robert Tray
parent
f1f13f98b5
commit
3eee9fbb6d
@@ -322,6 +322,7 @@ bool BootAnimation::threadLoop()
|
||||
mFlingerSurface.clear();
|
||||
mFlingerSurfaceControl.clear();
|
||||
eglTerminate(mDisplay);
|
||||
eglReleaseThread();
|
||||
IPCThreadState::self()->stopProcess();
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user