From 2eea8be7ac1035b75c08f375c4e02540a9b1814d Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Thu, 15 Oct 2020 18:00:25 +0800 Subject: [PATCH] don't pause again --- lualib/skynet/socket.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lualib/skynet/socket.lua b/lualib/skynet/socket.lua index 4bea10c1..7eadeb1a 100644 --- a/lualib/skynet/socket.lua +++ b/lualib/skynet/socket.lua @@ -27,6 +27,9 @@ local function wakeup(s) end local function pause_socket(s, size) + if s.pause then + return + end if size then skynet.error(string.format("Pause socket (%d) size : %d" , s.id, size)) else