diff src/luan/modules/http/Server.luan @ 1780:d3ea0380dfb6

rename Thread.fork to Thread.run
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Aug 2023 14:40:45 -0600
parents b82767112d8e
children
line wrap: on
line diff
--- a/src/luan/modules/http/Server.luan	Tue Aug 15 23:52:20 2023 -0600
+++ b/src/luan/modules/http/Server.luan	Wed Aug 30 14:40:45 2023 -0600
@@ -59,7 +59,7 @@
 	function Rpc.functions.call(domain,fn_name,...)
 		return luan_handler.call_rpc(fn_name,...)
 	end
-	Thread.fork(Rpc.serve)
+	Thread.run(Rpc.serve)
 end
 
 local file_regex = regex("^file:(.*)$")