prevent a use-after-free at exit
1 files changed, 1 insertions(+), 0 deletions(-) M dwl.c
M dwl.c => dwl.c +1 -0
@@ 627,6 627,7 @@ cleanup(void) { #ifdef XWAYLAND wlr_xwayland_destroy(xwayland); + xwayland = NULL; #endif wl_display_destroy_clients(dpy); if (child_pid > 0) {