Add ID to filedrop handler

This commit is contained in:
Jonathan Kelley committed 2024-01-04 16:48:53 -08:00
1 parent 62a9583fff
commit ec3eaa6b26
7 files changed
+24 -51

No files matched your search

+1 -1
View File
@@ -2,8 +2,8 @@ use dioxus::prelude::*;
use dioxus_desktop::DesktopContext;
pub(crate) fn check_app_exits(app: Component) {
use dioxus_desktop::tao::window::WindowBuilder;
use dioxus_desktop::Config;
use tao::window::WindowBuilder;
// This is a deadman's switch to ensure that the app exits
let should_panic = std::sync::Arc::new(std::sync::atomic::AtomicBool::new(true));
let should_panic_clone = should_panic.clone();