mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46: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>
|
2005-11-07 Billy Biggs <vektor@dumbterm.net>
|
||||||
|
|
||||||
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
* 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>
|
2005-11-07 Billy Biggs <vektor@dumbterm.net>
|
||||||
|
|
||||||
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
* 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>
|
2005-11-07 Billy Biggs <vektor@dumbterm.net>
|
||||||
|
|
||||||
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
* tests/refcount/Makefile.am: Add a missing reference to libglib
|
||||||
|
@ -1915,11 +1915,11 @@ g_main_dispatch (GMainContext *context)
|
|||||||
user_data);
|
user_data);
|
||||||
(*depth)--;
|
(*depth)--;
|
||||||
|
|
||||||
LOCK_CONTEXT (context);
|
|
||||||
|
|
||||||
if (cb_funcs)
|
if (cb_funcs)
|
||||||
cb_funcs->unref (cb_data);
|
cb_funcs->unref (cb_data);
|
||||||
|
|
||||||
|
LOCK_CONTEXT (context);
|
||||||
|
|
||||||
if (!was_in_call)
|
if (!was_in_call)
|
||||||
source->flags &= ~G_HOOK_FLAG_IN_CALL;
|
source->flags &= ~G_HOOK_FLAG_IN_CALL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user