Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnableNetwork and event listening race #40

Open
karalabe opened this issue Mar 22, 2020 · 1 comment
Open

EnableNetwork and event listening race #40

karalabe opened this issue Mar 22, 2020 · 1 comment

Comments

@karalabe
Copy link
Contributor

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.

@cretz
Copy link
Owner

cretz commented Jun 13, 2021

Will look to moving event capture asynchronous and before the sending of the conf. Same at #39.

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

No branches or pull requests

2 participants