lib/relay: Close invitation channel in all error cases (fixes #3726)

This commit is contained in:
Audrius Butkevicius
2016-11-11 22:23:48 +00:00
committed by Jakob Borg
parent f60b424d70
commit 38d28c3f4a
4 changed files with 15 additions and 7 deletions

View File

@@ -47,6 +47,8 @@ import (
"github.com/syncthing/syncthing/lib/upgrade"
"github.com/thejerf/suture"
_ "net/http/pprof" // Need to import this to support STPROFILER.
)
var (