Changeset

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
parents 423:e98cef597393
children 425:9f910529d8f0
files init.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)