Loading src/event/kqueue.cpp +1 −4 Changes for src/event/kqueue.cpp: 1 added line, 4 removed lines. Original line number Diff line number Diff line Loading @@ -393,16 +393,13 @@ void ConnectEventHandler(int pos, const int tid, ULONG_PTR args) { evconnection->DisconnectEvent(*ccon, tid, args); ccon->csock->close(); CONNECTIONS.erase(ccon->csock->fd()); } catch (NetException &e) { CONNECTIONS.erase(ccon->csock->fd()); conn_lock.unlock(); throw e; } } CONNECTIONS.erase(ccon->csock->fd()); _Events[pos].udata = nullptr; conn_lock.unlock(); delete ccon; Loading Loading
src/event/kqueue.cpp +1 −4 Changes for src/event/kqueue.cpp: 1 added line, 4 removed lines. Original line number Diff line number Diff line Loading @@ -393,16 +393,13 @@ void ConnectEventHandler(int pos, const int tid, ULONG_PTR args) { evconnection->DisconnectEvent(*ccon, tid, args); ccon->csock->close(); CONNECTIONS.erase(ccon->csock->fd()); } catch (NetException &e) { CONNECTIONS.erase(ccon->csock->fd()); conn_lock.unlock(); throw e; } } CONNECTIONS.erase(ccon->csock->fd()); _Events[pos].udata = nullptr; conn_lock.unlock(); delete ccon; Loading