Allow scoped flows to have their timeout

pull/5346/head
GogoVega 2025-11-05 11:39:41 +01:00
parent e17256934d
commit ff5c2a264d
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
1 changed files with 3 additions and 0 deletions

View File

@ -489,6 +489,9 @@ class Flow {
return resolve();
}
} else if (this.shutdownScope.length) {
if (this.pendingMsgCount === 0) {
return resolve();
}
let count = 0;
this.shutdownScope.forEach((flow) => {
if (flow instanceof Flow) {