That should be a listener exit

This commit is contained in:
Asim 2016-03-18 19:24:44 +00:00
parent 10a67fe7de
commit 646d80f222

View File

@ -79,7 +79,7 @@ func (m *mockListener) Accept(fn func(transport.Socket)) error {
return nil
case c := <-m.conn:
go fn(&mockSocket{
lexit: make(chan bool),
lexit: c.lexit,
exit: c.exit,
send: c.recv,
recv: c.send,