diff options
Diffstat (limited to 'WebCore/platform/graphics/android/TexturesGenerator.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/TexturesGenerator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/TexturesGenerator.cpp b/WebCore/platform/graphics/android/TexturesGenerator.cpp index a1f514f..62cadc3 100644 --- a/WebCore/platform/graphics/android/TexturesGenerator.cpp +++ b/WebCore/platform/graphics/android/TexturesGenerator.cpp @@ -116,6 +116,10 @@ void TexturesGenerator::removeOperationsForFilter(OperationFilter* filter) // when we return our caller can be sure that there is no more operations // in the queue matching the given filter. mRequestedOperationsLock.lock(); + if (!m_waitForCompletion) { + mRequestedOperationsLock.unlock(); + return; // operation treated + } mRequestedOperationsCond.wait(mRequestedOperationsLock); m_waitForCompletion = false; mRequestedOperationsLock.unlock(); |