Dan Winship 0d62eb467f gobject: forbid finalization-during-construction
If a constructor() implementation created an object but then unreffed
it rather than returning it, that object would get left on the
construction_objects list, which would cause problems later when that
memory location got reused by another object.

"Fix" this by making it fail intentionally, and add a test for it (and
for the normal, working singleton case).

https://bugzilla.gnome.org/show_bug.cgi?id=661576
2013-10-22 11:01:15 -04:00
..
2013-05-29 08:37:08 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 08:37:08 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 08:37:19 -04:00
2013-05-29 08:37:08 -04:00
2012-10-16 09:39:24 -04:00