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

Prevent duplicate close of client connection #2597

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

MrSerth
Copy link
Member

@MrSerth MrSerth commented Oct 13, 2024

When a running execution is stopped by the client (through the WebSocket connection), we immediately call close_client_connection to terminate Tubesock connection to the browser and stop the runner. However, since the regular workflow also included a call to close_client_connection, it might have been called twice.

When a running execution is stopped by the client (through the WebSocket connection), we immediately call `close_client_connection` to terminate Tubesock connection to the browser and stop the runner. However, since the regular workflow also included a call to `close_client_connection`, it might have been called twice.
@MrSerth MrSerth added enhancement ruby Pull requests that update Ruby code labels Oct 13, 2024
@MrSerth MrSerth requested a review from Dome-GER October 13, 2024 20:53
@MrSerth MrSerth self-assigned this Oct 13, 2024
@Dome-GER Dome-GER merged commit 679ab3e into master Oct 15, 2024
9 of 10 checks passed
@Dome-GER Dome-GER deleted the duplicate_close branch October 15, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants