We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a9e645 commit 0048b4fCopy full SHA for 0048b4f
src/mobx-inifinite-query.ts
@@ -164,7 +164,10 @@ export class MobxInfiniteQuery<
164
165
this.abortController.signal.addEventListener('abort', () => {
166
subscription();
167
+
168
+ this.queryObserver.getCurrentQuery().destroy();
169
this.queryObserver.destroy();
170
+ this.isResultRequsted = false;
171
172
if (resetOnDispose) {
173
this.reset();
src/mobx-query.ts
@@ -149,6 +149,8 @@ export class MobxQuery<
149
150
151
152
153
154
155
this.isResultRequsted = false;
156
0 commit comments