mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +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)
|
.spawn(future)
|
||||||
.expect("Failed to spawn");
|
.expect("Failed to spawn");
|
||||||
#[cfg(not(tokio_unstable))]
|
#[cfg(not(tokio_unstable))]
|
||||||
let handle = tokio::task::spawn_local(future);
|
let handle = tokio::task::spawn(future);
|
||||||
|
|
||||||
drop(guard);
|
drop(guard);
|
||||||
handle
|
handle
|
||||||
|
|
Loading…
Reference in a new issue