I'm getting a simmiilar error on linux (linux/nixos/wayland/sway) where it starts fine for the first time and crashes if i start it again after that.
With Rustbacktrace:
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/main.rs:280:60
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: <pineflash::Flasher as eframe::epi::App>::update
4: eframe::native::epi_integration::EpiIntegration::update
5: <eframe::native::run::glow_integration::GlowWinitApp as eframe::native::run::WinitApp>::paint
6: eframe::native::run::run_and_return::{{closure}}
7: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return
8: eframe::native::run::run_and_return
9: std::thread::local::LocalKey<T>::with
10: eframe::native::run::glow_integration::run_glow
11: eframe::run_native
12: pineflash::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: queue 0x55dd5def32d0 destroyed while proxies still attached:
wl_buffer@20 still attached
wl_shm_pool@33 still attached
xdg_wm_base@23 still attached
wl_output@14 still attached
wl_seat@13 still attached
xdg_activation_v1@12 still attached
wp_viewporter@11 still attached
zwp_text_input_manager_v3@10 still attached
zwp_pointer_constraints_v1@9 still attached
zwp_relative_pointer_manager_v1@8 still attached
zxdg_decoration_manager_v1@7 still attached
wl_subcompositor@6 still attached
wl_compositor@5 still attached
wl_shm@4 still attached
wl_registry@2 still attached
Originally posted by @Janik-Haag in #52 (comment)
With Rustbacktrace:
Originally posted by @Janik-Haag in #52 (comment)