Add todo about async multithreading

This commit is contained in:
Reinout Meliesie 2026-01-01 14:34:13 +01:00
commit 96ea810ace
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -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 (