mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
fix: Use spawn instead of spawn_local in anime animation callback
Closes #588
This commit is contained in:
@@ -176,7 +176,7 @@ impl AniMe {
|
|||||||
return Ok(true); // Do safe exit
|
return Ok(true); // Do safe exit
|
||||||
}
|
}
|
||||||
let inner = inner.clone();
|
let inner = inner.clone();
|
||||||
tokio::task::spawn_local(async move {
|
tokio::task::spawn(async move {
|
||||||
inner
|
inner
|
||||||
.write_data_buffer(frame)
|
.write_data_buffer(frame)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user