Skip to content

Commit

Permalink
continue to next listener instead of returning (#13079)
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Zhu <[email protected]>
  • Loading branch information
Maddobun and Leo Zhu authored Nov 28, 2023
1 parent a574542 commit 178d74e
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 178d74e

Please sign in to comment.