-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 asan error for new-delete-type-mismatch #1411
Conversation
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.
indeed handle
is of type uv_stream_t*
.
Nope, it's err = uv_shutdown(
req, reinterpret_cast<uv_stream_t*>(this->uvHandle), static_cast<uv_shutdown_cb>(onShutdown)); In .hpp: uv_pipe_t* uvHandle{ nullptr }; So PR is ok IMHO. |
I verified that If ASAN is not complaining then 👍 |
uv_pipe is a subtype of uv_stream. uv_tcp as well. |
Let's not merge yet, I want to check something. |
It's ok. Merging. Thanks @satoren. But the same should be done in |
This is the same change as done in PR #1411 but here in `TcpConnectionHandle.cpp`.
* v3: chore: Update Rust toolchain channel to version 1.79.0 Fix issue versatica#1374 cosmetic fix Simulcast IncreaseLayer bug when producer score is zero (versatica#1410) Update NPM deps TcpConnectionHandle.cpp: properly close handle fix asan error for new-delete-type-mismatch (versatica#1411)
This handle seems to be of type
uv_pipe_t
.