You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if env::var("PATH").is_err() {
eframe::run_native(
"bootstrap",
native_options.clone(),
Box::new(|_| Box::new(BootstrapApp::new())),
)
.unwrap();
}
let path = PathBuf::from(
env::var("PATH").expect("bootstrap phase should set the PATH"),
);
// the following results in immediate
// DEBUG eframe::native::run: Entering the winit event loop (run_return)…
// DEBUG eframe::native::run: Received Event::LoopDestroyed - saving app state…
// DEBUG eframe::native::run: eframe window closed
eframe::run_native(
"Actual app",
native_options,
Box::new(|cc| {
Box::new(ActualApp::new(cc, path))
}),
)
It seems that the event loop is polluted by the close event from the previous run but I'm not sure how it is supposed to be cleaned. Any ideas?
The text was updated successfully, but these errors were encountered:
zshehov
changed the title
eframe::Frame.close() affects following eframe::run_native callseframe::Frame::close affects following eframe::run_native calls
Aug 4, 2023
Running on Mac, I have something along the lines:
It seems that the event loop is polluted by the close event from the previous run but I'm not sure how it is supposed to be cleaned. Any ideas?
The text was updated successfully, but these errors were encountered: