fix: don't tick resolved TickingPromises
This commit is contained in:
parent
fab80fec9a
commit
1bd7bc41a3
|
@ -82,6 +82,9 @@ export class Actions extends decorate(Traversals) {
|
||||||
results.push(result);
|
results.push(result);
|
||||||
if (result instanceof TickingPromise) {
|
if (result instanceof TickingPromise) {
|
||||||
tickingPromises.push(result);
|
tickingPromises.push(result);
|
||||||
|
result.then(() => {
|
||||||
|
tickingPromises.splice(tickingPromises.indexOf(result), 1);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
else if (result instanceof Promise) {
|
else if (result instanceof Promise) {
|
||||||
promises.push(result);
|
promises.push(result);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user