mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23: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
|
||||
}
|
||||
let inner = inner.clone();
|
||||
tokio::task::spawn_local(async move {
|
||||
tokio::task::spawn(async move {
|
||||
inner
|
||||
.write_data_buffer(frame)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user