Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/wsclient/client.go
Original file line number Diff line number Diff line change
@@ -265,7 +265,7 @@ func (cs *ClientServerImpl) SetReadDeadline(t time.Time) error {
}

func (cs *ClientServerImpl) forceCloseConnection() {
closeChan := make(chan error)
closeChan := make(chan error, 1)
go func() {
closeChan <- cs.Close()
}()

0 comments on commit 384129a

Please sign in to comment.