Fix run_on_demand exiting on consequent call

Fixes #3284.
This commit is contained in:
Kirill Chibisov 2023-12-22 20:00:20 +04:00
parent 9a28bb4b49
commit 8cc5cb9d9b
13 changed files with 141 additions and 69 deletions

View file

@ -925,6 +925,10 @@ impl<T> EventLoopWindowTarget<T> {
x11_or_wayland!(match self; Self(evlp) => evlp.control_flow())
}
pub(crate) fn clear_exit(&self) {
x11_or_wayland!(match self; Self(evlp) => evlp.clear_exit())
}
pub(crate) fn exit(&self) {
x11_or_wayland!(match self; Self(evlp) => evlp.exit())
}