Skip to content

Commit e7ae944

Browse files
committed
remove unnecessary check
1 parent da06fa1 commit e7ae944

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/execution/Queue.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ export class Queue<T> {
9090
}
9191

9292
private _push(item: T): void {
93-
if (this._stopped) {
94-
this._resolve(undefined);
95-
}
9693
this._items.push(item);
9794
this._resolve(this.batch());
9895
}

0 commit comments

Comments
 (0)