Chromium Code Reviews
Descriptionexo: Fix crash in out-of-order destruction of Gamepad
Destroying the gaming input resource will destroy the gamepad
polling thread, which causes the Gamepad destructor to access an
invalid reference to the task runner of that thread.
This CL changes the raw pointer to a ref counted pointer so we won't
destroy the task runner prematurely.
BUG=620977
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2159283002
Cr-Commit-Position: refs/heads/master@{#406327}
(cherry picked from commit a3633143505b30713e83baabfa7767877bf79788)
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||