mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
kms: Assert that callbacks are outside of the impl context
https://gitlab.gnome.org/GNOME/mutter/merge_requests/930
This commit is contained in:
parent
ee854ed7ab
commit
4abec2f8e7
@ -276,6 +276,8 @@ flush_callbacks (MetaKms *kms)
|
||||
GList *l;
|
||||
int callback_count = 0;
|
||||
|
||||
meta_assert_not_in_kms_impl (kms);
|
||||
|
||||
for (l = kms->pending_callbacks; l; l = l->next)
|
||||
{
|
||||
MetaKmsCallbackData *callback_data = l->data;
|
||||
|
Loading…
Reference in New Issue
Block a user