mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
Fix delayed action not being executed
This commit is contained in:
parent
2f2ffdc871
commit
0b59befc42
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ impl ActionManager {
|
|||
tokio::time::sleep(dur).await;
|
||||
#[allow(clippy::unwrap_used)] // propagating panics is ok
|
||||
let mut state = this.state.lock().unwrap();
|
||||
if state.remove(&m, &t) {
|
||||
if state.remove(&m, &exec_t) {
|
||||
this.exec_now(m);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue