Changeset

12295:e22afa09ebf2

prosody: Run shutdown procedure in async thread
author Kim Alvefur <zash@zash.se>
date Tue, 01 Jan 2019 16:43:49 +0100
parents 12294:81f147ddc4ab
children 12296:49ebac8a5260
files prosody
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Tue Jan 01 16:42:52 2019 +0100
+++ b/prosody	Tue Jan 01 16:43:49 2019 +0100
@@ -80,4 +80,4 @@
 
 loop();
 
-startup.shutdown();
+thread:run(startup.shutdown);