mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
Merge branch '3054-context-return' into 'main'
gmain: Add a missing return on error path in g_main_context_release() Closes #3054 See merge request GNOME/glib!3501
This commit is contained in:
commit
674f2a030c
@ -3608,6 +3608,7 @@ g_main_context_release (GMainContext *context)
|
||||
g_critical ("g_main_context_release() called on a context (%p, owner %p, "
|
||||
"owner count %u) which is not acquired by the current thread",
|
||||
context, context_owner, context_owner_count);
|
||||
return;
|
||||
}
|
||||
#endif /* !G_DISABLE_CHECKS */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user