commit | 2cbfc4ca83ef045f004b52cd3a89934ae0318c12 | [log] [tgz] |
---|---|---|
author | Jason Sams <[email protected]> | Wed Jan 05 03:37:48 2011 -0800 |
committer | Jason Sams <[email protected]> | Wed Jan 05 03:37:48 2011 -0800 |
tree | 22d7b500e13cb9115d990ff364d51a6e7573f136 | |
parent | 59962077fed57ff81f91b53a6a965dd4276f3544 [diff] [blame] |
fix bug 3313505 Shader cache cleanup could occur in wrong thread during RS teardown. Change-Id: Iffed41de046147db30885e6815826e3b640020c1
diff --git a/rsContext.cpp b/rsContext.cpp index 22c73fe..c437d72 100644 --- a/rsContext.cpp +++ b/rsContext.cpp
@@ -535,6 +535,7 @@ mStateFragment.deinit(this); mStateFragmentStore.deinit(this); mStateFont.deinit(this); + mShaderCache.cleanupAll(); } ObjectBase::zeroAllUserRef(this); LOGV("destroyWorkerThreadResources 2");