chiark / gitweb /
terminal: signal object removal during sysview_context_stop()
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 16:05:19 +0000 (18:05 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 16:14:44 +0000 (18:14 +0200)
commitc17091b79773e9c458f03a897b26c2257d7366a7
treef0ea2da846215542a6734a81c3686d498ce6af15
parented3a9f6a30958ef90a24bc60aec86493974101d3
terminal: signal object removal during sysview_context_stop()

Now that we no longer propagate callback return values, we can safely call
into user-callbacks during sysview_context_stop(). This way, users can
rely on all objects to be removed via callbacks (except if they failed
during object creation). This avoids duplicating any object hashtables on
the users' side and reduces memory consumption.
src/libsystemd-terminal/evcat.c
src/libsystemd-terminal/modeset.c
src/libsystemd-terminal/sysview.c