diff src/luan/modules/Rpc.luan @ 1578:c922446f53aa

immutable threading
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Feb 2021 14:16:19 -0700
parents d9a5405a3102
children a9ff30fb5d89
line wrap: on
line diff
--- a/src/luan/modules/Rpc.luan	Sun Jan 31 16:04:39 2021 -0700
+++ b/src/luan/modules/Rpc.luan	Mon Feb 08 14:16:19 2021 -0700
@@ -126,6 +126,7 @@
 end_function
 
 Rpc.functions = {}
+Luan.set_metatable( Rpc.functions, Boot.local_metatable )
 
 local function rpc_responder(socket,fns)
 	local server = RpcServer.new(socket)