Commit 12af7b35 authored by jan.koester's avatar jan.koester
Browse files

test

parent 8712067e
Loading
Loading
Loading
Loading
+2 −1
Changes for src/event/epoll.cpp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -339,10 +339,11 @@ namespace netplus {
                    } catch (NetException &e) {
                        throw e;
                    }
                    CONNECTIONS.erase(ccon->csock->fd());
                }

                _Events[pos].data.ptr = nullptr;

                CONNECTIONS.erase(ccon->csock->fd());
            }

            delete ccon;
+1 −1
Changes for src/event/kqueue.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -368,9 +368,9 @@ namespace netplus {
                    } catch (NetException &e) {
                        throw e;
                    }
                    _Events[pos].udata  = nullptr;
                    CONNECTIONS.erase(ccon->csock->fd());
                }
                _Events[pos].udata  = nullptr;
            }
            delete ccon;
        }