mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-09 08:21:23 -04:00
cage: destroy output_layout after wl_display
wl_display will destroy the outputs, whose destroy handler will remove them from the output layout. But by that point, the output layout has already been destroyed.
This commit is contained in:
parent
e200dd388b
commit
5c1d684255
1 changed files with 1 additions and 1 deletions
2
cage.c
2
cage.c
|
|
@ -444,9 +444,9 @@ end:
|
|||
wl_event_source_remove(sigterm_source);
|
||||
wl_event_source_remove(sigchld_source);
|
||||
seat_destroy(server.seat);
|
||||
wlr_output_layout_destroy(server.output_layout);
|
||||
/* This function is not null-safe, but we only ever get here
|
||||
with a proper wl_display. */
|
||||
wl_display_destroy(server.wl_display);
|
||||
wlr_output_layout_destroy(server.output_layout);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue