Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 9245a52

Browse files
committed
Fix blocked pipeline on error.
1 parent 48f9abe commit 9245a52

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/subscribe/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@ class Subscriptions {
469469
}
470470
} finally {
471471
await cancelTask // only wait for cancel at end
472-
await sub.onDone()
473472
}
474473
}
475474

src/subscribe/pipeline.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export default function MessagePipeline(client, opts = {}, onFinally = async ()
7878
async function* ValidateMessages(src) {
7979
try {
8080
for await (const streamMessage of src) {
81-
client.debug('loop')
8281
try {
8382
await validate(streamMessage)
8483
} catch (err) {

0 commit comments

Comments
 (0)