Commit 7a77d3c4 authored by jan.koester's avatar jan.koester
Browse files

test

parent 0a1207a7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
@@ -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);
                    }
                }