Mercurial > prosody-hg
annotate plugins/mod_unknown.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 | 28a90f5fea46 |
| children |
| rev | line source |
|---|---|
|
6003
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 -- Unknown platform stub |
|
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 module:set_global(); |
|
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
|
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 -- TODO Do things that make sense if we don't know about the platform |
