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