mirror of
https://github.com/go-micro/go-micro.git
synced 2025-03-17 20:28:06 +02:00
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…
x
Reference in New Issue
Block a user