Fix reset to Poll after the event loop starts

This commit is contained in:
daxpedda 2023-10-10 22:46:08 +02:00 committed by GitHub
parent 0960635895
commit 42c9b7e40e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 40 deletions

View file

@ -199,7 +199,6 @@ impl Handler {
// looks like there have been recuring re-entrancy issues with callback handling that might
// make that awkward)
self.running.store(false, Ordering::Relaxed);
*self.control_flow.lock().unwrap() = ControlFlow::default();
self.set_stop_app_on_redraw_requested(false);
self.set_stop_app_before_wait(false);
self.set_stop_app_after_wait(false);