Skip to content

Commit

Permalink
Run format script. No logical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Oct 4, 2023
1 parent 4bed5fa commit 4f0ddb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/src/org/openqa/selenium/bidi/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ public void clearListeners() {

// If WebDriver close() is called, it closes the session if it is the last browsing context.
// It also closes the WebSocket from the remote end.
// If we try to now send commands, depending on the underlying web socket implementation, it will throw errors.
// If we try to now send commands, depending on the underlying web socket implementation, it
// will throw errors.
// Ideally, such errors should not prevent freeing up resources.
if (!underlyingSocketClosed.get()) {
send(new Command<>("session.unsubscribe", ImmutableMap.of("events", events)));
Expand Down

0 comments on commit 4f0ddb2

Please sign in to comment.