bine
bine copied to clipboard
EnableNetwork and event listening race
When the network is enabled, first we give the command to do so https://github.com/cretz/bine/blob/master/tor/tor.go#L373 and only afterwards subscribe to the bootstrap events https://github.com/cretz/bine/blob/master/tor/tor.go#L381. There's a change bootstrap will finish before the subscribe, leading to a hang.
Will look to moving event capture asynchronous and before the sending of the conf. Same at #39.