Loading src/event/kqueue.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -334,7 +334,7 @@ namespace netplus { con* raw_ptr = reinterpret_cast<con*>(_Events[pos].udata); if (!raw_ptr) return; std::shared_ptr<con> ccon; std::unique_ptr<con> ccon; { std::lock_guard<std::mutex> global_lock(POLL_HANDLER_MUTEX); Loading @@ -342,7 +342,7 @@ namespace netplus { if (fd >= 0) { auto it = CONNECTIONS.find(fd); if (it != CONNECTIONS.end()) { ccon = it->second; ccon = std::move(it->second); CONNECTIONS.erase(it); } } Loading Loading
src/event/kqueue.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -334,7 +334,7 @@ namespace netplus { con* raw_ptr = reinterpret_cast<con*>(_Events[pos].udata); if (!raw_ptr) return; std::shared_ptr<con> ccon; std::unique_ptr<con> ccon; { std::lock_guard<std::mutex> global_lock(POLL_HANDLER_MUTEX); Loading @@ -342,7 +342,7 @@ namespace netplus { if (fd >= 0) { auto it = CONNECTIONS.find(fd); if (it != CONNECTIONS.end()) { ccon = it->second; ccon = std::move(it->second); CONNECTIONS.erase(it); } } Loading