commit | ceb2f740228afb21d0ad7bfa17f4a60be7f3013a | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adithyas@chromium.org> | Mon Dec 17 10:49:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 17 10:49:22 2018 |
tree | 9c9517b12f087f1f399b624d23010474ac6e4680 | |
parent | d612ab41fd6fce3abf4ed991d55f12d4987a5088 [diff] |
[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 <toyoshim@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#617079}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .