Skip to content

net模块中PollPoller.cpp中的removeChannel函数中有个笔误 #43

Open
@huxingqun

Description

@huxingqun

在removeChannel函数中有个越界判断的条件
if (0 > idx && idx >= static_cast<int>(pollfds_.size())) 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