From 2fb52f6fce5f871ee39f2683c51188190dc65c32 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Wed, 29 Aug 2018 15:29:26 +0800 Subject: [PATCH] cleanup --- lualib/skynet/socketchannel.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/skynet/socketchannel.lua b/lualib/skynet/socketchannel.lua index 1ebfc047..737f0926 100644 --- a/lualib/skynet/socketchannel.lua +++ b/lualib/skynet/socketchannel.lua @@ -232,8 +232,8 @@ local function connect_once(self) return false end assert(not self.__sock and not self.__authcoroutine) - -- term current dispatch thread (send a sigal) - term_dispatch_thread(self, self.__dispatch_thread) + -- term current dispatch thread (send a signal) + term_dispatch_thread(self) local fd,err = socket.open(self.__host, self.__port) if not fd then