Skip to content

Commit b984e04

Browse files
committed
graphql: Fix regression in herd cache
1 parent 8f6ecca commit b984e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/src/execution/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl<R: CheapClone> QueryCache<R> {
141141
}
142142
};
143143

144-
defer::defer(|| {
144+
let _remove_guard = defer::defer(|| {
145145
// Remove this from the list of in-flight work.
146146
self.cache.lock().unwrap().remove(&hash);
147147
});

0 commit comments

Comments
 (0)