Selaa lähdekoodia

update:修改sent事件描述

13917187172 2 kuukautta sitten
vanhempi
sitoutus
66615fa0f3
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      module/Air8000/demo/WebSocket/websocket_sender.lua

+ 0 - 1
module/Air8000/demo/WebSocket/websocket_sender.lua

@@ -115,7 +115,6 @@ local function send_item(ws_client)
                 log.info("wbs_sender", "发送成功", "长度", #item.data)
             end
             
-            -- 由于sent事件可能不会触发,我们直接认为发送成功
             if item.cb and item.cb.func then
                 item.cb.func(true, item.cb.para)
             end