Mercurial > prosody-hg
comparison loader.lua @ 14003:2c95239d0b92
mod_mam: Use util.async.sleep() helper (same functionality, less code)
Well, not quite the same functionality. module:add_timer() would cancel the
timer if the module got unloaded while processing. This would leave the async
runner hanging forever. The new code would let it finish.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 06 Dec 2025 16:00:22 +0000 |
| parents | 2f61ebcf37c0 |
| children | ef586363d90f |
comparison
equal
deleted
inserted
replaced
| 14002:f82be93b61a5 | 14003:2c95239d0b92 |
|---|
