-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.
Description
Calling end() twice with callback will cause the second callback to never be invoked:
e.g. the following will fail.
writable.end(common.mustCall());
writable.end(common.mustCall());I'm not sure what the behavior should be here. Maybe calling the callback with an error? Either way, not calling the callback at all seems to me like it will cause problems and memory leaks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.