diff options
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/gtype.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gobject/gtype.c b/gobject/gtype.c index 6df810c14..a82144251 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -2440,6 +2440,14 @@ type_data_unref_U (TypeNode *node, NODE_NAME (node)); return; } + else + { + /* This is the last reference of a type from a plugin. We are + * experimentally disabling support for unloading type + * plugins, so don't allow the last ref to drop. + */ + return; + } g_assert (current > 0); |