mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
parent
4031568cdf
commit
2145b3701d
@ -228,8 +228,8 @@ func NewService(cfg config.Wrapper, myID protocol.DeviceID, mdl Model, tlsCfg *t
|
||||
}
|
||||
|
||||
func (s *service) handleConns(ctx context.Context) error {
|
||||
var c internalConn
|
||||
for {
|
||||
var c internalConn
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
return ctx.Err()
|
||||
|
Loading…
x
Reference in New Issue
Block a user