anacrolix / utp

Use anacrolix/go-libutp instead
https://github.com/anacrolix/go-libutp
Mozilla Public License 2.0
173 stars 35 forks source link

Move wg adds within mutex Lock #17

Closed prettymuchbryce closed 8 years ago

prettymuchbryce commented 8 years ago

I think I should move the WaitGroup adds into the mutex lock just incase there could ever be some kind of data race situation. I can't seem to artificially create one, but probably best to be paranoid.