commit | 58e7b7e03f02ab6505e74ddddd4087692431570b | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adithyas@chromium.org> | Fri Dec 21 15:06:32 2018 |
committer | Adithya Srinivasan <adithyas@chromium.org> | Fri Dec 21 15:06:32 2018 |
tree | c930bb262797781e88bb48f8778b5d150cf7ef91 | |
parent | acf38d004ca4444484c138b4eecee94fabc62785 [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-Original-Commit-Position: refs/heads/master@{#617079}(cherry picked from commit ceb2f740228afb21d0ad7bfa17f4a60be7f3013a) Reviewed-on: https://chromium-review.googlesource.com/c/1388053 Cr-Commit-Position: refs/branch-heads/3626@{#497} Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437}
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 .