weston/include
Pekka Paalanen 8740037a93 libweston: add weston_layer_fini()
Layers did not have a fini sequence before, which means the compositor
layer list might have stale pointers temporarily when shutting down. A
bigger problem might be having views linger after the destruction of the
layer.

These problems were not observed yet, but if they exist, this patch
should help to find them and then fix them.

The check in weston_compositor_shutdown() is not an assert yet, because
it will trigger until all components call weston_layer_fini() correctly.
Some components do not even have a tear-down function to call it from at
all, like fullscreen-shell.

The same with the check in weston_layer_fini().

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2021-05-28 13:38:28 +03:00
..
libweston libweston: add weston_layer_fini() 2021-05-28 13:38:28 +03:00
libweston-desktop Move libweston-desktop.h 2019-04-18 12:31:46 +03:00
meson.build Move libweston-desktop.h 2019-04-18 12:31:46 +03:00