mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 15:16:52 +08:00
Fix all linting errors
Disabled gocylco for now, need to use gometalinter to disable conditionally. There are also a lot more linters we could use, but they cause too many issues to start today.
This commit is contained in:
@@ -95,7 +95,10 @@ func main() {
|
||||
|
||||
dataChannelsLock.RLock()
|
||||
for _, d := range datachannels {
|
||||
d.Send([]byte(message))
|
||||
err := d.Send([]byte(message))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
dataChannelsLock.RUnlock()
|
||||
}
|
||||
|
Reference in New Issue
Block a user