-
Notifications
You must be signed in to change notification settings - Fork 69
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
Garbage Collection #94
Comments
@guero235 , did you ever get an answer to this? I am finding the same issue. |
@efine, unfortunately, no. I made my own dispose function that i call when i'm done with the stream to clean it up. I can post the code here if you'd like. |
Thanks for the update. I also use mine for APNS and my solution has been working for me. I simply dispose of the stream after i have read the response from Apple to keep it clean. |
I'm closing this since I've merged #106. |
Quick question for you. My apologies if i don't understand everything - i've only been using this library for a few days. I am using it as a http2 client that send push notifications to apple.
For example - here is some debuging output:
I've noticed that even though i've called
h2_client:get_response
it stays in the stream_set. Do i need to go through the closed streams and set thegarbage
property to true? Or is there a better way to mark it after i've dealt with it?The text was updated successfully, but these errors were encountered: