Skip to content

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

@phper08

Description

@phper08

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions