diff options
author | Kim Alvefur <zash@zash.se> | 2021-11-24 21:27:45 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-11-24 21:27:45 +0100 |
commit | d4398ef21d325aa8679f7d6b299ae6314d90da09 (patch) | |
tree | 6efa8d26d69ac973c367d70e6957779f0ec31a0b /spec/util_async_spec.lua | |
parent | ea20acace0db5b64df2ae8294168591f0fa0432c (diff) | |
download | prosody-d4398ef21d325aa8679f7d6b299ae6314d90da09.tar.gz prosody-d4398ef21d325aa8679f7d6b299ae6314d90da09.zip |
mod_smacks: Fix timer lifetimes to follow session instead of module
module:add_timer() creates a timer that stops working after the module
is reloaded or unloaded, in order to prevent leaks. However, when the
timers control vital session behavior, breakage occurs after reload.
E.g. sessions would stop requesting acks and stop responding to acks.
Diffstat (limited to 'spec/util_async_spec.lua')
0 files changed, 0 insertions, 0 deletions