diff --git a/Ember/app.rs b/Ember/app.rs index 820503d..6968a3d 100644 --- a/Ember/app.rs +++ b/Ember/app.rs @@ -49,11 +49,11 @@ impl ApplicationImpl for App { // scaled screen (1440 x 940 is 2880 x 1880 pixels at 200 %): the window is then // fitted to the work area once it has been placed. let weak = window.downgrade(); - let _ = window.opened(move || { + window.opened(move || { if let Some(window) = weak.upgrade() { fit_to_work_area(&window); } - }); + }).detach(); desktop.set_main_window(Some(window)); } else if let Some(activity) = lifetime .as_ref() diff --git a/Ember/reader_view.rs b/Ember/reader_view.rs index 0d889d2..2262ffe 100644 --- a/Ember/reader_view.rs +++ b/Ember/reader_view.rs @@ -307,7 +307,7 @@ impl ReaderView { }, Duration::from_millis(180), DispatcherPriority::BACKGROUND, - ); + ).detach(); } } }); @@ -414,7 +414,7 @@ impl ReaderView { }, DispatcherPriority::LOADED, ); - }); + }).detach(); } fn connect_platform_back(&self) { if self.back_handler.borrow().is_some() { diff --git a/FerroUI b/FerroUI index c4c4cf8..b753739 160000 --- a/FerroUI +++ b/FerroUI @@ -1 +1 @@ -Subproject commit c4c4cf872a3f57166ebb00b343ca4b6c41a55eef +Subproject commit b753739811c34eba24c86ec383232053e914e42e