Skip to content
Commit 6c902662 authored by Andreas Haratzis's avatar Andreas Haratzis
Browse files

Fix DrmOutput sometimes being freed with a pending pageflip, often when waking from sleep.

It is possible for updateOutputs to be called when a pageflip is pending.
Freeing a DrmOutput with a pending pageflip is not allowed (see ~DrmOutput assert - the page flip handler will be called on the freed memory, possibly leading to use-after-free).
This works around the problem by delaying the destruction with teardown().

BUG: 422460
parent 9e1bb1f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment