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

router_short.go 的 AddRoute 方法有可能加锁后未解锁 #2

Open
phper08 opened this issue Jun 1, 2020 · 0 comments
Open

router_short.go 的 AddRoute 方法有可能加锁后未解锁 #2

phper08 opened this issue Jun 1, 2020 · 0 comments

Comments

@phper08
Copy link

phper08 commented Jun 1, 2020

https://github.com/Blockchain-CN/pheromones/blob/master/router_short.go#L45
加锁了,如果进入到了48行,那么就return了,导致该锁一直在锁定

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

1 participant