mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-07-14 13:10:13 -04:00
Fix a potential issue causing high CPU usage
This commit is contained in:
@@ -93,6 +93,7 @@ func (w *tcpWorker) handleConnections(conns <-chan internet.Connection) {
|
||||
for {
|
||||
select {
|
||||
case conn := <-conns:
|
||||
conn.SetReusable(false)
|
||||
conn.Close()
|
||||
default:
|
||||
break L
|
||||
|
||||
Reference in New Issue
Block a user