mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
ipset: Fix dumb bug due to future not awaited
The edge case is so dumb, cargo is supposed to tell me about this >< Just learnt that Python never warns about this btw: https://trio.readthedocs.io/en/v0.9.0/tutorial.html#warning-don-t-forget-that-await
This commit is contained in:
parent
915e308015
commit
47947d18db
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ impl PluginInfo for Plugin {
|
|||
|
||||
// Launch all actions
|
||||
while let Some(action) = self.actions.pop() {
|
||||
tokio::spawn(async move { action.serve() });
|
||||
tokio::spawn(async move { action.serve().await });
|
||||
}
|
||||
self.actions = Default::default();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue