forked from mirror/chromium
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebMIDI] Add connection error handler for midi_client_
We check |midi_client_| before calling EndSession in the destructor of MidiHost as it tells us if we've started a session before. |midi_client_| could potentially be false if there was a connection error and could skip the EndSession call. Bug: 913270, 582328 Change-Id: Iececf880fcd61f1cc8ad65673e3dcfc9724ea5db Reviewed-on: https://chromium-review.googlesource.com/c/1376089 Commit-Queue: Takashi Toyoshima <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#617079}(cherry picked from commit ceb2f74) Reviewed-on: https://chromium-review.googlesource.com/c/1388053 Cr-Commit-Position: refs/branch-heads/3626@{#497} Cr-Branched-From: d897fb1-refs/heads/master@{#612437}
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters