-
Notifications
You must be signed in to change notification settings - Fork 465
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 leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> #795
Conversation
@legendecas @mhdawson any thoughts on this? |
I know @gabrielschulhof has some concerns when we looked at it in the meeting last week. I've not had a chance to take a look myself yet. |
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.
LGTM. Sorry for the delayed review 😅
Still want @gabrielschulhof to take a look at this one. |
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.
LGTM
Fix leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> PR-URL: #795 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Landed as ceb27d4 |
Fix leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> PR-URL: nodejs#795 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Fix leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> PR-URL: nodejs/node-addon-api#795 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Fix leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> PR-URL: nodejs/node-addon-api#795 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Fix leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> PR-URL: nodejs/node-addon-api#795 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Fix leak of ThreadSafeData in AsyncProgressWorkerBase<DataType> PR-URL: nodejs/node-addon-api#795 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
ThreadSafeData
is allocated inAsyncProgressWorkerBase<DataType>::NonBlockingCall
to provide context in thetsfn
callback, but never deleted.