Diff

init.lua @ 424:eaaaf4495e06

verse: Ensure verse.quit() only quits the loop once
author Matthew Wild <mwild1@gmail.com>
date Mon, 17 Sep 2018 13:19:54 +0100
parent 417:d46a502955c0
child 444:12c1be0044c6
line wrap: on
line diff
--- 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)