aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/manual.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-06-14 16:28:49 +0200
committerKim Alvefur <zash@zash.se>2022-06-14 16:28:49 +0200
commitd5e749bc8a1a6b003ba858310145745dcad5ec9c (patch)
tree886a16182bf8a44291d345fd52766e4eddc1907d /net/resolvers/manual.lua
parentbfe2a924f83627053681668fb49f98520906c5bb (diff)
downloadprosody-d5e749bc8a1a6b003ba858310145745dcad5ec9c.tar.gz
prosody-d5e749bc8a1a6b003ba858310145745dcad5ec9c.zip
util.startup: Fix async waiting for last shutdown steps
Observed problem: When shutting down prosody would immediately exit after waiting for s2s connections to close, skipping the last cleanup events and reporting the exit reason and code. This happens because prosody.main_thread is in a waiting state and queuing startup.shutdown is dispatched trough the main loop via nexttick, but since the main loop was no longer running at that point it proceeded to the end of the prosody script and exited there.
Diffstat (limited to 'net/resolvers/manual.lua')
0 files changed, 0 insertions, 0 deletions