fixup: task_mgr::spawn is used in places that don't have ambient runtime

This commit is contained in:
Christian Schwarz
2024-03-22 19:49:49 +00:00
parent 9e2a805d88
commit d83eaf7aee

View File

@@ -333,7 +333,7 @@ where
let task_name = name.to_string();
let task_cloned = Arc::clone(&task);
let join_handle = tokio::spawn(task_wrapper(
let join_handle = THE_RUNTIME.spawn(task_wrapper(
task_name,
task_id,
task_cloned,