mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Don't call cb_funcs->unref while holding the context lock. (#320886, Andy
2005-11-07 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref while holding the context lock. (#320886, Andy Wingo)
This commit is contained in:
parent
e8e3891c0f
commit
6d763bd97c
@ -1,3 +1,8 @@
|
||||
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
||||
while holding the context lock. (#320886, Andy Wingo)
|
||||
|
||||
2005-11-07 Billy Biggs <vektor@dumbterm.net>
|
||||
|
||||
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
||||
while holding the context lock. (#320886, Andy Wingo)
|
||||
|
||||
2005-11-07 Billy Biggs <vektor@dumbterm.net>
|
||||
|
||||
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
|
||||
while holding the context lock. (#320886, Andy Wingo)
|
||||
|
||||
2005-11-07 Billy Biggs <vektor@dumbterm.net>
|
||||
|
||||
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
||||
|
@ -1915,12 +1915,12 @@ g_main_dispatch (GMainContext *context)
|
||||
user_data);
|
||||
(*depth)--;
|
||||
|
||||
LOCK_CONTEXT (context);
|
||||
|
||||
if (cb_funcs)
|
||||
cb_funcs->unref (cb_data);
|
||||
|
||||
if (!was_in_call)
|
||||
LOCK_CONTEXT (context);
|
||||
|
||||
if (!was_in_call)
|
||||
source->flags &= ~G_HOOK_FLAG_IN_CALL;
|
||||
|
||||
if ((source->flags & G_SOURCE_CAN_RECURSE) == 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user