Skip to content
Commit 08c7015a authored by Derek Foreman's avatar Derek Foreman Committed by Daniel Stone
Browse files

pixman-renderer: Check if the shm_buffer is gone during attach



Moving attach to the render loop in c08a6ff8
caused this to crash if the shm buffer is destroyed between being committed
to a surface and being rendered.

Since we don't keep a reference to the buffer pool anyway, we might as well
just skip the attachment here.

Fixes: #922

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 08386229
Loading
Loading
Loading
Pipeline #1216067 passed with stages
in 3 minutes and 43 seconds
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