ci: explicitly drop detached Tokio task handles

This commit is contained in:
Gatefixer
2026-09-24 03:08:22 +00:00
parent 3f079b7b32
commit f678ca57ab
+2 -2
View File
@@ -210,10 +210,10 @@ where
};
match runtime::Handle::try_current() {
Ok(handle) => {
let _ = handle.spawn(task);
drop(handle.spawn(task));
}
Err(_) => {
let _ = get_runtime().spawn(task);
drop(get_runtime().spawn(task));
}
}
}