Skip to content

Commit

Permalink
continue to next listener instead of returning
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Zhu committed Nov 17, 2023
1 parent 13a7708 commit 4da510d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/common/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export class AsyncEmitter<T extends WaitUntilEvent> extends Emitter<T> {
delete (asyncEvent as any)['waitUntil'];
}
if (!waitables.length) {
return;
continue;
}
try {
await Promise.all(waitables);
Expand Down

0 comments on commit 4da510d

Please sign in to comment.