1
0
Fork 0
forked from wry/wry

wayland: kill clients in event-handling stage

This commit is contained in:
Julian Orth 2025-02-21 21:23:29 +01:00
parent b00f3a2ffe
commit 5b02428bee

View file

@ -137,5 +137,8 @@ async fn send(data: Rc<Client>) {
);
}
}
data.state.clients.kill(data.id);
let run_toplevel = data.state.run_toplevel.clone();
run_toplevel.schedule(move || {
data.state.clients.kill(data.id);
});
}