Mercurial > prosody-hg
diff plugins/mod_debug_reset.lua @ 14137:368df9b2d511 13.0
mod_debug_reset: Rename unused variable to please linter
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Apr 2026 12:52:12 +0200 |
| parents | 8f50e7e43df4 |
| children |
line wrap: on
line diff
--- a/plugins/mod_debug_reset.lua Thu Apr 16 19:00:22 2026 +0100 +++ b/plugins/mod_debug_reset.lua Fri Apr 17 12:52:12 2026 +0200 @@ -16,7 +16,7 @@ module:fire_event("server-resetting"); for _, host in ipairs(hosts) do hostmanager.deactivate(host); - for i = 1, 4 do + for _ = 1, 4 do -- Run a few cycles to ensure full cleanup, including -- weak tables and finalizers collectgarbage("collect");
