* Silently cancels any in-flight fetch, then clears the query's garbage * collection timeout. Called by `QueryCache` when the query is removed from * the cache. * @see Query#cancel
()
| 439 | * @see {@link Query#cancel} |
| 440 | */ |
| 441 | override destroy(): void { |
| 442 | this.cancel({ silent: true }) |
| 443 | // An abort listener can unsubscribe and schedule GC during cancellation. |
| 444 | super.destroy() |
| 445 | } |
| 446 | |
| 447 | /** |
| 448 | * The state the query was created with. |