Skip to content
Snippets Groups Projects
Commit d9893c6a authored by Derek Foreman's avatar Derek Foreman Committed by Marius Vlad
Browse files

compositor: Fix a potential crash at shutdown


weston_global_destroy_save() can directly destroy a global if the
compositor state is WESTON_COMPOSITOR_OFFSCREEN.

Make sure we don't try to set_user_data after this has happened.

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 81800294
Loading
Checking pipeline status
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