diff --git a/src/main.rs b/src/main.rs index 417e095..ad0dfca 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,6 +44,8 @@ fn show_window ( application : & Application ) { spawn_future_local ( async move { async_result_context ! ( async { + // TODO: Move non-UI async tasks to non-local context + let data_manager = leak ( DataManager :: new () . await ? ) ; let ui = UI :: new (