verse: Ensure verse.quit() only quits the loop once

Mon, 17 Sep 2018 13:19:54 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 17 Sep 2018 13:19:54 +0100
changeset 424
eaaaf4495e06
parent 423
e98cef597393
child 425
9f910529d8f0

verse: Ensure verse.quit() only quits the loop once

init.lua file | annotate | diff | comparison | revisions
--- a/init.lua	Wed Jun 27 19:19:11 2018 +0100
+++ b/init.lua	Mon Sep 17 13:19:54 2018 +0100
@@ -97,7 +97,7 @@
 end
 
 function verse.quit()
-	return server.setquitting(true);
+	return server.setquitting("once");
 end
 
 function stream:listen(host, port)

mercurial