wayland: kill clients in event-handling stage
This commit is contained in:
parent
b00f3a2ffe
commit
5b02428bee
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue