Session类构造析构跟踪日志统一在底层网络框架打印

This commit is contained in:
xiongziliang
2023-04-22 23:30:22 +08:00
parent f1037e3767
commit de8249592e
9 changed files with 9 additions and 28 deletions

View File

@@ -16,9 +16,7 @@ SrtSession::SrtSession(const Socket::Ptr &sock)
// TraceL<<"after addr len "<<addr_len<<" family "<<_peer_addr.ss_family;
}
SrtSession::~SrtSession() {
InfoP(this);
}
SrtSession::~SrtSession() = default;
EventPoller::Ptr SrtSession::queryPoller(const Buffer::Ptr &buffer) {
uint8_t *data = (uint8_t *)buffer->data();