diff options
author | Kim Alvefur <zash@zash.se> | 2021-05-18 20:08:37 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-05-18 20:08:37 +0200 |
commit | 448eac7da4cd5972f391cf56db20cf5d72a4c7e8 (patch) | |
tree | 188df5e17608a13d0a5e132969a1fcd3789d940d /plugins/mod_register_limits.lua | |
parent | c7396c9aac97201b3a37acbdf07a08eede93e7f3 (diff) | |
download | prosody-448eac7da4cd5972f391cf56db20cf5d72a4c7e8.tar.gz prosody-448eac7da4cd5972f391cf56db20cf5d72a4c7e8.zip |
prosody: Close the state on exit (ie garbage-collect everything)
This ensures __gc is called on everything that may need it, such as
database connections.
It was reported in the chat by Happy that SQLite3 does not close its
state cleanly in WAL mode, leaving the WAL file behind. This is probably
rather a bug in mod_storage_sql, but forcing a final GC sweep should
also help with such things everywhere.
Diffstat (limited to 'plugins/mod_register_limits.lua')
0 files changed, 0 insertions, 0 deletions