[Network] Prune / disconnect TCP connections gracefully (#4574)

This commit is contained in:
Chris Miles authored and GitHub committed 2025-01-05 23:48:00 -06:00
1 parent fe43d26dd6
commit c44596b38a
13 files changed
+2 -73

No files matched your search

+2
View File
@@ -80,6 +80,8 @@ void EQ::Net::TCPConnection::Start() {
}
}
else if (nread == UV_EOF) {
connection->Disconnect();
if (buf->base) {
delete[] buf->base;
}