Skip to content

Conversation

@mafintosh
Copy link
Contributor

Currently client.stop() can make the program hang since the udp request have triggered a setTimeout. This PR fixes this by calling unref on the timeout to not have the program hang (useful in testing)

feross added a commit that referenced this pull request Mar 29, 2014
unrefing timeout to not hang on stop
@feross feross merged commit 0b11b0b into webtorrent:master Mar 29, 2014
@feross
Copy link
Member

feross commented Mar 29, 2014

thanks :)

@feross
Copy link
Member

feross commented Mar 29, 2014

Published as 0.3.2.

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