Skip to content
Commit 443d579d authored by Olivier Fourdan's avatar Olivier Fourdan 🛠
Browse files

wayland: do not crash if the surface is gone

If a queued event is being processed after the surface is
destroyed, trying to access the window associated with the surface
will lead to a segmentation fault.

This patch avoids the crash by first checking if the surface is not null.

https://bugzilla.gnome.org/show_bug.cgi?id=754715
parent 5066eaf6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment