aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-01 16:43:49 +0100
committerKim Alvefur <zash@zash.se>2019-01-01 16:43:49 +0100
commit97daab1c756e842307741fa0b0122c0b2b9dd168 (patch)
treec124f0d741bf3c0ec5dfdc4d97a63135db82cb6d
parented06f22ae5f6ff73c21d82e583248f0096cb096f (diff)
downloadprosody-97daab1c756e842307741fa0b0122c0b2b9dd168.tar.gz
prosody-97daab1c756e842307741fa0b0122c0b2b9dd168.zip
prosody: Run shutdown procedure in async thread
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index f45e9ecb..dd0374d5 100755
--- a/prosody
+++ b/prosody
@@ -80,4 +80,4 @@ end
loop();
-startup.shutdown();
+thread:run(startup.shutdown);