mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 03:11:24 +00:00
Don't spawn_local without tokio-unstable
This commit is contained in:
parent
b7f508207f
commit
9178e3ef9f
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ where
|
|||
.spawn(future)
|
||||
.expect("Failed to spawn");
|
||||
#[cfg(not(tokio_unstable))]
|
||||
let handle = tokio::task::spawn_local(future);
|
||||
let handle = tokio::task::spawn(future);
|
||||
|
||||
drop(guard);
|
||||
handle
|
||||
|
|
Loading…
Reference in a new issue