mirror of
https://github.com/pion/webrtc.git
synced 2025-10-16 12:10:44 +08:00
Update CI configs to v0.11.15
Update lint scripts and CI configs.
This commit is contained in:
@@ -38,7 +38,7 @@ func doSignaling(w http.ResponseWriter, r *http.Request) {
|
||||
d.OnOpen(func() {
|
||||
for range time.Tick(time.Second * 3) {
|
||||
if err = d.SendText(time.Now().String()); err != nil {
|
||||
if errors.Is(io.ErrClosedPipe, err) {
|
||||
if errors.Is(err, io.ErrClosedPipe) {
|
||||
return
|
||||
}
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user