-
Notifications
You must be signed in to change notification settings - Fork 847
revoke promise when provider is gone #4152
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
Conversation
|
better to backport this if needed. |
|
kindly ping if you got time. @bryancall @zwoop @SolidWallOfCode @shinrich @scw00 @oknet |
shinrich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not very familiar with the cppapi, but your logic does seem reasonable to track and free the memory associated with the promise.
lib/cppapi/include/atscppapi/Async.h
Outdated
|
|
||
| #pragma once | ||
|
|
||
| #include <list> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you still need <list>?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be removed
fafa3d4 to
a58a6fc
Compare
|
@shinrich @SolidWallOfCode list header is removed. |
shinrich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still looks good to me.
a58a6fc to
f430679
Compare
|
Conflicts resolved. |
|
@shinrich @SolidWallOfCode mind take another look? Thank you very much! |
This is to fix the memory leak issue #4137 .