flamingo 一款高性能轻量级开源即时通讯软件
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
huxingqun opened this issue 4 years ago · comments
在removeChannel函数中有个越界判断的条件 if (0 > idx && idx >= static_cast<int>(pollfds_.size())) return; 这里的“&&”应该改成“||”吧
if (0 > idx && idx >= static_cast<int>(pollfds_.size())) return;