--- a/prosody Tue Jan 01 16:43:49 2019 +0100
+++ b/prosody Wed Oct 06 14:49:26 2021 +0200
@@ -54,6 +54,8 @@
thread:run(startup.prosody);
+prosody.main_thread = thread;
+
local function loop()
-- Error handler for errors that make it this far
local function catch_uncaught_error(err)