mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-08 06:29:08 +02:00
Address Sonar findings and move noise to direct dependency
This commit is contained in:
@@ -1038,7 +1038,7 @@ func (s *Server) acquireAttachSession() (ScreenCapturer, func()) {
|
||||
cc.ClientConnect()
|
||||
return s.capturer, cc.ClientDisconnect
|
||||
}
|
||||
return s.capturer, func() {}
|
||||
return s.capturer, func() { /* capturer has no per-client disconnect hook */ }
|
||||
}
|
||||
|
||||
// modeString returns a human-readable session mode name.
|
||||
|
||||
Reference in New Issue
Block a user