Index: gpu/command_buffer/service/query_manager.cc |
diff --git a/gpu/command_buffer/service/query_manager.cc b/gpu/command_buffer/service/query_manager.cc |
index 49f111f839141f03b427cce2e11e788714854a3a..a269f35323d58a9b2cfc8bed147941d9378135b4 100644 |
--- a/gpu/command_buffer/service/query_manager.cc |
+++ b/gpu/command_buffer/service/query_manager.cc |
@@ -785,6 +785,7 @@ QueryManager::~QueryManager() { |
} |
void QueryManager::Destroy(bool have_context) { |
+ active_queries_.clear(); |
pending_queries_.clear(); |
pending_transfer_queries_.clear(); |
active_queries_.clear(); |