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

chore(roll): collect stale handles #2726

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Conversation

mxschmitt
Copy link
Member

@@ -103,7 +103,7 @@ internal override void OnMessage(string method, JsonElement? serverParams)

internal Task<CDPChannel> NewBrowserCDPSessionAsync()
=> Connection.SendMessageToServerAsync<CDPChannel>(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to add Channel.SendMessageToServerAsync and call it in all these places? It then can check if the channel has been disposed already.

@mxschmitt mxschmitt force-pushed the roll/1.39.0-alpha-oct-10-2023-2 branch from eb4546f to 7f07acd Compare October 11, 2023 18:26
@mxschmitt mxschmitt merged commit 32af805 into main Oct 11, 2023
13 of 16 checks passed
@mxschmitt mxschmitt deleted the roll/1.39.0-alpha-oct-10-2023-2 branch October 11, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants