diff options
-rw-r--r-- | src/core/SkImageFilter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp index ae3b53a69e..815a78260e 100644 --- a/src/core/SkImageFilter.cpp +++ b/src/core/SkImageFilter.cpp @@ -168,6 +168,7 @@ SkImageFilter::SkImageFilter(sk_sp<SkImageFilter> const* inputs, } SkImageFilter::~SkImageFilter() { + SkAutoMutexAcquire lock(fMutex); SkImageFilterCache::Get()->purgeByKeys(fCacheKeys.begin(), fCacheKeys.count()); } |