dashboard: fix dashboard auth error, fix #339

This commit is contained in:
fatedier
2017-05-31 01:07:51 +08:00
parent 93461e0094
commit 7bc6c72844
2 changed files with 4 additions and 3 deletions

View File

@ -66,6 +66,7 @@ func (l *Listener) Close() error {
defer l.mu.Unlock()
if !l.closed {
close(l.conns)
l.closed = true
}
return nil
}