Remove lock from link
This commit is contained in:
parent
b9a2f719a0
commit
d8a1b47954
@ -89,9 +89,6 @@ func (l *link) Id() string {
|
||||
}
|
||||
|
||||
func (l *link) Close() error {
|
||||
l.Lock()
|
||||
defer l.Unlock()
|
||||
|
||||
select {
|
||||
case <-l.closed:
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user