Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: @protobuf-ts/grpc-transport memory leak #113

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

dddenis
Copy link

@dddenis dddenis commented Jun 9, 2021

  • extract CallOptions from GrpcOptions
  • create @grpc/grpc-js Client once in GrpcTransport constructor
  • add close method, which closes @grpc/grpc-js Client

fixes #107

@dddenis dddenis force-pushed the fix/grpc-transport-memory-leak branch from 4ec8113 to 70f4fe6 Compare June 10, 2021 07:35
@timostamm
Copy link
Owner

Thank you @dddenis. I am completely swamped right now with work and it will take me a few days to come back to this.

@dddenis
Copy link
Author

dddenis commented Jun 16, 2021

@timostamm sure, ping me when I should rebase on top of latest master

@timostamm
Copy link
Owner

Excellent!

If you could rebase (to accept masters new lock files) I'll merge and publish straight away.

@dddenis dddenis force-pushed the fix/grpc-transport-memory-leak branch from 70f4fe6 to 6ec85cf Compare June 22, 2021 09:33
@dddenis
Copy link
Author

dddenis commented Jun 22, 2021

done

@timostamm timostamm merged commit 6b52884 into timostamm:master Jun 22, 2021
@timostamm
Copy link
Owner

Thank you 🙏

Published in v2.0.0-alpha.27 in the "next" channel.

@dddenis
Copy link
Author

dddenis commented Jun 22, 2021

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in @protobuf-ts/grpc-transport
2 participants