| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Do not access handles that have already begun to be closed or are closed.
In the presence of Workers, it is not safe to assume that `StreamPipe::Unpipe()` has been called at the time when the object is destroyed. Instead, clean up when the destructor is called.
|
@addaleax build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/2703/pipeline |
Sorry, something went wrong.
| env->CloseHandle(handle, [](uv_handle_t* handle) {}); | ||
| env->CloseHandle(handle, [](uv_handle_t* handle) { | ||
| #ifdef DEBUG | ||
| memset(handle, 0xab, uv_handle_size(handle->type)); |
There was a problem hiding this comment.
👍
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Do not access handles that have already begun to be closed or are closed. PR-URL: #26256 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
In the presence of Workers, it is not safe to assume that `StreamPipe::Unpipe()` has been called at the time when the object is destroyed. Instead, clean up when the destructor is called. PR-URL: #26256 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Do not access handles that have already begun to be closed or are closed. PR-URL: #26256 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
In the presence of Workers, it is not safe to assume that `StreamPipe::Unpipe()` has been called at the time when the object is destroyed. Instead, clean up when the destructor is called. PR-URL: #26256 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
| Back | FazBrowse Home | New Git URL |
src: do not access Environment-owned handles after cleanup
Do not access handles that have already begun to be closed
or are closed.
src: clean up StreamPipe in destructor
In the presence of Workers, it is not safe to assume that
StreamPipe::Unpipe() has been called at the time when the object
is destroyed.
Instead, clean up when the destructor is called.
Checklist