Skip to content

libweston: deduplicate compositor shutdown in backend_init failure path

Philipp Zabel requested to merge pH5/weston:deduplicate-compositor-shutdown into main

If backend initialization fails, weston_compositor_shutdown() is called twice: once right away in weston_compositor_load_backend(), and once in weston_compositor_destroy().

Remove the first and fix a segfault when trying to weston_plane_remove() the primary plane a second time.

Fixes !1280 (merged).

Merge request reports