mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
That should be a listener exit
This commit is contained in:
parent
10a67fe7de
commit
646d80f222
@ -79,7 +79,7 @@ func (m *mockListener) Accept(fn func(transport.Socket)) error {
|
|||||||
return nil
|
return nil
|
||||||
case c := <-m.conn:
|
case c := <-m.conn:
|
||||||
go fn(&mockSocket{
|
go fn(&mockSocket{
|
||||||
lexit: make(chan bool),
|
lexit: c.lexit,
|
||||||
exit: c.exit,
|
exit: c.exit,
|
||||||
send: c.recv,
|
send: c.recv,
|
||||||
recv: c.send,
|
recv: c.send,
|
||||||
|
Loading…
Reference in New Issue
Block a user