From 96ea810ace29b01f5fd2620235a5af185538ec13 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Thu, 1 Jan 2026 14:34:13 +0100 Subject: [PATCH] Add todo about async multithreading --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) 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 (