Skip to content
Commit 8bfb103d authored by Jonas Ådahl's avatar Jonas Ådahl
Browse files

barrier: Complain loudly if bogus barriers are created

The API allows for invalid barriers to be created; in an X11 session,
this could result in involutary early exit, so guard against those with
soft asserts. These will be logged in the journal as warnings, but will
avoid the crash unless compiled out.

Note that this doesn't fix the bug, it just makes it more detectable.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1901610


(cherry picked from commit f5949af0)

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1613>
parent 48d4153c
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