Skip to content

随着用户的增加会出现内存越来越大的情况 #114

Description

@moxin05

问题出现在用户的初始化连接上,使用哈希表隐式的创建一个对象,但是没有在用户结束连接的时候释放,对象的生命周期由哈希表进行管理。

users_[fd].init(fd, addr);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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