aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/crand.d.tl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-05-18 20:08:37 +0200
committerKim Alvefur <zash@zash.se>2021-05-18 20:08:37 +0200
commit448eac7da4cd5972f391cf56db20cf5d72a4c7e8 (patch)
tree188df5e17608a13d0a5e132969a1fcd3789d940d /teal-src/util/crand.d.tl
parentc7396c9aac97201b3a37acbdf07a08eede93e7f3 (diff)
downloadprosody-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 'teal-src/util/crand.d.tl')
0 files changed, 0 insertions, 0 deletions