DescriptionWeb MIDI: MidiManager crashes if a session is ended while initializing
If a MidiManagerClient was destructed while an asynchronous MidiManager
initialization performs, the browser process crashes when the
initilization is finished. On EndSession(), MidiManager should remove
the client even from |pending_clients_|.
Also, this change fixes a problem that CompleteStartSession() may not be
invoked on a MidiManagerClient if its |client_id| is confclicting with
another MidiManagerClient.
BUG=382522
TEST=media_unittests --gtest_filter='Midi*'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276987
Patch Set 1 #Patch Set 2 : update #
Total comments: 6
Patch Set 3 : multimap #
Total comments: 2
Patch Set 4 : make_pair #
Messages
Total messages: 11 (0 generated)
|