mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-14 09:29:07 +02:00
Address CodeRabbit feedback on VNC server
This commit is contained in:
@@ -49,7 +49,11 @@ func (s *Server) serviceAcceptLoop() {
|
||||
|
||||
enableTCPKeepAlive(conn, s.log)
|
||||
conn = newMetricsConn(conn, s.sessionRecorder)
|
||||
go s.handleServiceConnectionDarwin(conn, mgr)
|
||||
s.trackConn(conn)
|
||||
go func(c net.Conn) {
|
||||
defer s.untrackConn(c)
|
||||
s.handleServiceConnectionDarwin(c, mgr)
|
||||
}(conn)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user