修复修改ws机制之后不能完全断开导致重复连接
This commit is contained in:
@@ -342,7 +342,7 @@ function WS.update(dt)
|
||||
local time=timer()
|
||||
for name,ws in next,wsList do
|
||||
if ws.real then
|
||||
if ws.status~='dead'and ws.triggerCHN:getCount()==0 then
|
||||
if ws.triggerCHN:getCount()==0 then
|
||||
ws.triggerCHN:push(0)
|
||||
end
|
||||
if ws.status=='connecting'then
|
||||
|
||||
Reference in New Issue
Block a user