forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential shutdown deadlock in UI service
If the GpuPtr is disconnected while there are pending buffer allocations in flight, this can lead to the main thread deadlocking on a WaitableEvent that never signals. Fixes that by tracking pending allocations and ensuring they're always signalled on connection error or other shutdown events. BUG= R=sadrul@chromium.org Review-Url: https://codereview.chromium.org/2651443002 Cr-Commit-Position: refs/heads/master@{#445434}
- Loading branch information
Showing
2 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters