From 178d74eb745f083e0421d3483efe229e61c04301 Mon Sep 17 00:00:00 2001 From: Maddobun <76917395+Maddobun@users.noreply.github.com> Date: Tue, 28 Nov 2023 01:10:32 -0500 Subject: [PATCH] continue to next listener instead of returning (#13079) Co-authored-by: Leo Zhu --- packages/core/src/common/event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/common/event.ts b/packages/core/src/common/event.ts index f861a9e6dc71d..99fdef2ea5fde 100644 --- a/packages/core/src/common/event.ts +++ b/packages/core/src/common/event.ts @@ -456,7 +456,7 @@ export class AsyncEmitter extends Emitter { delete (asyncEvent as any)['waitUntil']; } if (!waitables.length) { - return; + continue; } try { await Promise.all(waitables);