From 47947d18db14d937d2b8032eba8df07940f2823b Mon Sep 17 00:00:00 2001 From: ppom Date: Wed, 4 Feb 2026 12:00:00 +0100 Subject: [PATCH] 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 --- plugins/reaction-plugin-ipset/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/reaction-plugin-ipset/src/main.rs b/plugins/reaction-plugin-ipset/src/main.rs index 7be98b0..7ae9d04 100644 --- a/plugins/reaction-plugin-ipset/src/main.rs +++ b/plugins/reaction-plugin-ipset/src/main.rs @@ -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();