mafintosh / discovery-swarm

A network swarm that uses discovery-channel to find peers
MIT License
374 stars 57 forks source link

UTP not always closing #46

Closed joehand closed 6 years ago

joehand commented 6 years ago

I was updating utp native and testing and looks like these tests aren't always closing. I changed the test to be more explicit about whether things close or not.

It closes sometimes but other times hangs, couldn't quite figure out why its not getting closed.

joehand commented 6 years ago

This causes seg faults and other UTP errors sometimes on my computer (travis appears to be fine). @mafintosh if you figure out why this is hanging (after test 19), that may fix some of the problems we've been having with upstream tests.

I will merge and release this with the new utp stuff.