From 451387a4a9780602be6096417f5e412381d61508 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 14 Mar 2024 13:41:23 +0100 Subject: [PATCH] Server: remove all listeners on deinit() --- river/Server.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/river/Server.zig b/river/Server.zig index 14db772..a3e8118 100644 --- a/river/Server.zig +++ b/river/Server.zig @@ -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| {