Damien Lespiau
f2080f099e
shader: Don't notify properties when finalizing shaders
...
clutter_shader_finalize() was calling clutter_shader_release() which in
turn notifies "compiled". GObject was complaining that we were trying to
_ref() an object that was in _finalize().
#0 g_log (log_domain=0x3e15c4 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL,
format=0x76c938 "%s: assertion `%s' failed") at gmessages.h:97
#1 0x0070777d in g_return_if_fail_warning (
log_domain=0x3e15c4 "GLib-GObject",
pretty_function=0x3e37a4 "g_object_ref",
expression=0x3e2a00 "object->ref_count > 0") at gmessages.c:586
#2 0x003b862b in g_object_ref (_object=0x8567af0) at gobject.c:2615
#3 0x003bd238 in g_object_notify_by_pspec (object=0x8567af0, pspec=0x87ea2f0)
at gobject.c:1075
#4 0x00b6500b in clutter_shader_release (shader=0x8567af0)
at ./clutter-shader.c:612
#5 0x00b659b9 in clutter_shader_finalize (object=0x8567af0)
at ./clutter-shader.c:107
Then, let's split release in two, with an _internal() version that does
not notify "compiled" and use it from dispose (as the object is still
usable after a call to release_internal().
http://bugzilla.clutter-project.org/show_bug.cgi?id=2512
2011-01-11 11:20:16 +00:00
..
2010-12-14 10:07:32 +00:00
2011-01-10 17:11:42 +00:00
2011-01-06 17:16:51 +00:00
2010-11-30 14:50:13 +00:00
2010-12-09 15:42:19 +00:00
2010-11-24 15:09:47 +00:00
2010-12-30 12:47:00 +00:00
2010-12-09 15:34:22 +00:00
2010-12-30 12:47:00 +00:00
2011-01-06 14:28:41 +00:00
2010-10-25 23:44:53 +01:00
2010-10-21 13:13:00 +01:00
2010-11-29 10:54:33 +00:00
2010-10-21 13:13:00 +01:00
2010-12-10 16:03:10 +00:00
2010-12-17 13:53:28 +00:00
2010-12-09 12:36:50 +00:00
2011-01-10 18:45:22 +00:00
2010-10-18 11:26:45 +01:00
2010-10-18 11:26:44 +01:00
2010-12-11 17:43:23 +00:00
2010-10-21 12:22:17 +01:00
2010-10-21 13:13:00 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 15:21:16 +00:00
2010-10-18 11:26:45 +01:00
2010-12-18 13:24:54 +00:00
2010-10-25 00:39:13 +01:00
2010-11-17 12:47:46 +00:00
2010-10-18 11:26:45 +01:00
2010-11-08 16:01:19 +00:00
2010-11-08 16:01:19 +00:00
2010-10-18 11:26:45 +01:00
2010-11-11 23:18:20 +00:00
2010-11-23 12:50:29 +00:00
2010-11-11 13:14:23 +00:00
2010-12-08 14:26:27 +00:00
2010-12-10 17:15:39 +00:00
2010-11-17 12:47:46 +00:00
2010-11-18 15:21:16 +00:00
2011-01-10 14:03:35 +00:00
2010-10-19 01:42:19 +01:00
2010-12-17 13:37:05 +00:00
2010-11-18 18:23:49 +00:00
2010-11-17 12:47:46 +00:00
2010-11-30 14:40:37 +00:00
2010-10-21 12:22:17 +01:00
2010-12-09 12:36:50 +00:00
2010-11-18 15:21:16 +00:00
2010-11-18 18:23:49 +00:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-12-10 17:15:39 +00:00
2010-10-18 11:26:45 +01:00
2010-11-17 16:19:10 +00:00
2010-11-06 20:11:16 +00:00
2010-12-30 12:27:26 +00:00
2010-11-30 14:40:37 +00:00
2010-10-25 00:31:36 +01:00
2010-12-02 09:53:00 +00:00
2010-12-02 09:53:00 +00:00
2010-10-18 11:26:45 +01:00
2010-12-09 12:36:50 +00:00
2011-01-10 21:22:22 +00:00
2010-12-09 13:59:08 +00:00
2010-11-06 20:11:16 +00:00
2010-11-07 21:35:40 +00:00
2010-11-17 16:19:10 +00:00
2010-10-18 11:26:44 +01:00
2011-01-10 21:22:22 +00:00
2010-11-29 10:55:52 +00:00
2010-12-09 12:36:50 +00:00
2010-10-21 12:22:17 +01:00
2010-10-21 13:13:00 +01:00
2010-11-23 12:50:29 +00:00
2010-11-07 21:35:40 +00:00
2010-10-25 16:09:40 +01:00
2010-10-21 12:22:17 +01:00
2010-11-06 20:11:16 +00:00
2010-10-21 12:22:17 +01:00
2010-12-07 21:44:32 +00:00
2010-10-19 01:42:19 +01:00
2010-10-19 01:42:19 +01:00
2010-11-18 15:21:16 +00:00
2010-10-18 11:26:44 +01:00
2010-12-09 12:36:50 +00:00
2010-11-14 23:06:53 +00:00
2010-12-09 11:57:06 +00:00
2011-01-11 11:20:16 +00:00
2010-11-18 18:23:49 +00:00
2010-12-18 13:24:54 +00:00
2010-11-15 16:00:49 +00:00
2010-10-21 13:13:00 +01:00
2010-10-21 11:30:19 +01:00
2010-11-08 16:45:15 +00:00
2010-12-30 12:44:13 +00:00
2010-12-30 12:44:13 +00:00
2010-12-30 12:44:13 +00:00
2010-12-30 12:44:13 +00:00
2010-10-25 17:21:20 +01:00
2010-10-18 11:26:45 +01:00
2010-12-21 10:50:24 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-12-17 12:07:52 +00:00
2010-12-17 12:07:52 +00:00
2010-11-17 16:19:10 +00:00
2010-11-17 16:19:10 +00:00
2010-11-17 16:19:10 +00:00
2010-11-08 15:52:17 +00:00
2010-11-18 18:23:49 +00:00
2010-12-09 13:59:08 +00:00
2010-12-10 17:15:39 +00:00
2010-11-15 16:00:49 +00:00
2010-12-10 17:15:23 +00:00