mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 16:02:26 +08:00
性能优化
This commit is contained in:
@@ -343,8 +343,6 @@ func (s *UDPSession) Close() error {
|
||||
})
|
||||
|
||||
if once {
|
||||
atomic.AddUint64(&DefaultSnmp.CurrEstab, ^uint64(0))
|
||||
|
||||
// try best to send all queued messages
|
||||
s.mu.Lock()
|
||||
s.kcp.flush(false)
|
||||
|
||||
Reference in New Issue
Block a user