Index: src/gpu/GrDrawingManager.cpp |
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp |
index 90c77a5af0bc52f76395006f69c6006906a5cd85..9400bcb3871d4a20310c276bd428012823e2457c 100644 |
--- a/src/gpu/GrDrawingManager.cpp |
+++ b/src/gpu/GrDrawingManager.cpp |
@@ -67,7 +67,7 @@ void GrDrawingManager::reset() { |
} |
void GrDrawingManager::flush() { |
- if (fFlushing) { |
+ if (fFlushing || this->abandoned()) { |
return; |
} |
fFlushing = true; |