这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@NBR41
Copy link

@NBR41 NBR41 commented Nov 17, 2016

Hi,

using your package, i've found that calls to stop in Progress don't stop the go routine of Listen(), becouse the stopChan is set to nil.

reproduced here
https://play.golang.org/p/yDiCsMwWRj

by commenting p.stopChan = nil, it's fixed

I also made call to stop blocking until the go routine is really stopped.

@mgurov
Copy link
Contributor

mgurov commented Nov 20, 2016

Similar to #18 #20 #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants