[CrOS Tether] DisconnectTetheringOperation: Delay device unregistration.
Previously, DisconnectTetheringOperation would call SendMessageToDevice(), then immediately call UnregisterDevice(). However, this created a race condition where if the device was unregistered before the message was successfully sent, we crashed the browser. Bug: 672263, 731181 Change-Id: I0da8b47b2129c7bf68f693d15c821e67415737b1 Reviewed-on: https://chromium-review.googlesource.com/590810 Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#490605}
Showing
Please register or sign in to comment