Server: remove all listeners on deinit()

This commit is contained in:
Isaac Freund 2024-03-14 13:41:23 +01:00
parent 388c95d2e9
commit 451387a4a9
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -183,8 +183,10 @@ pub fn deinit(server: *Server) void {
server.sigterm_source.remove();
server.new_xdg_surface.link.remove();
server.new_toplevel_decoration.link.remove();
server.new_layer_surface.link.remove();
server.request_activate.link.remove();
server.request_set_cursor_shape.link.remove();
if (build_options.xwayland) {
if (server.xwayland) |xwayland| {