-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When cancelling the web stream using the cancel method, the program crashes with an error saying that readableCancel isn't a valid method - which is weird because doing a console.log(this.readableCancel) returns a valid signature of a function.
This issue was first discovered in Polykey, so the reproduction steps will involve using the application.
To Reproduce
- Use a RPC handler method - a duplex stream or a client stream
- Cancel the stream
- See the error
Expected behavior
The stream should cancel gracefully (while crashing the app works, it is not how it is supposed to cancel the stream)
Logs
Check the comment in additional context for details about the crash and the dissection I performed.
Additional context
Notify maintainers
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working