From 11c797f15f2fcfb9bf012bdeaf07a7b9c8183362 Mon Sep 17 00:00:00 2001 From: Joshua Goldman Date: Sun, 11 Oct 2020 15:01:53 -0400 Subject: [PATCH] track cache.reset --- src/core/QueryInfo.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/QueryInfo.ts b/src/core/QueryInfo.ts index e3c82e511c7..d1b25bfdd2e 100644 --- a/src/core/QueryInfo.ts +++ b/src/core/QueryInfo.ts @@ -81,6 +81,7 @@ export class QueryInfo { destructiveMethodCounts.set(cache, 0); wrapDestructiveCacheMethod(cache, "evict"); wrapDestructiveCacheMethod(cache, "modify"); + wrapDestructiveCacheMethod(cache, "reset"); } }