Skip to content

这句好像有bug呢 #1

@ckcfcc

Description

@ckcfcc

g.sessions[session] = backend // not need mutex, so not addBackend

这个是 在gate.open里的一个狗程里调的,没有用锁

但是gate.kick的调用有可能来自另外一个线程,假设正在扩容map的时候也同时进入了kick,不会出错吗?

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