Skip to content
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

Try to fix unclosed resources. #1319

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Feb 12, 2025

I think these might be one of the few places that create those socket, so maybe closing them is the right call. I'm not sure.

There are random failures on some tests.

as _handle_pipe_msg is use in a single place and self._async_pipe_in1 is used only to be passed between _handle_pipe_msgs and _handle_pipe_msg I'm tempted to refactor and pass _async_pipe_in1 as a parameter maybe ? and also rename to _handle_single_pipe_msg to make it visually a bit more distinctive.

I think these might be one of the few places that create those socket,
so maybe closing them is the right call. I'm not sure.

There are random failures on some tests.

as _handle_pipe_msg is use in a single place and `self._async_pipe_in1`
is used only to be passed between _handle_pipe_msgs and _handle_pipe_msg
I'm tempted to refactor and pass _async_pipe_in1 as a parameter maybe ?
and also rename to _handle_single_pipe_msg to make it visually a bit
more distinctive.
@Carreau Carreau requested a review from minrk February 12, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant