parent
9a28bb4b49
commit
8cc5cb9d9b
13 changed files with 141 additions and 69 deletions
|
|
@ -163,6 +163,10 @@ impl<T> EventLoopRunner<T> {
|
|||
self.exit.get()
|
||||
}
|
||||
|
||||
pub fn clear_exit(&self) {
|
||||
self.exit.set(None);
|
||||
}
|
||||
|
||||
pub fn should_buffer(&self) -> bool {
|
||||
let handler = self.event_handler.take();
|
||||
let should_buffer = handler.is_none();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue