Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

fix: stream.cancel leading to double-free and segfault #275

Closed
wants to merge 2 commits into from

Conversation

jawid-h
Copy link
Contributor

@jawid-h jawid-h commented Sep 30, 2021

Issue being fixed or feature implemented

Due to a bug in grpc-js explained here. A temporary solution is used to bypass this bug until a fix is merged into Node.js explained here

What was done?

  • wrapped up stream.cancel into setImmediate

How Has This Been Tested?

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@jawid-h jawid-h closed this Oct 5, 2021
@jawid-h jawid-h deleted the fix/grpc-double-free branch October 5, 2021 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant