| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 04e3f8fa9ff16aee0b03f47eaf8b1393a3512ae9..2dba56c391b50bb8bd3482ca904ca4262e7450ec 100755
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -215,6 +215,8 @@ void GrContext::freeGpuResources() {
|
| // a path renderer may be holding onto resources
|
| SkSafeSetNull(fPathRendererChain);
|
| SkSafeSetNull(fSoftwarePathRenderer);
|
| +
|
| + fResourceCache->purgeAllUnlocked();
|
| }
|
|
|
| void GrContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) const {
|
|
|