Closed alanskind closed 3 years ago
There is no 'delete' corresponding to the 'new Channel'.
delete channel_;
Does this ever compile?
TcpConnection::channel_ is of type std::unique_ptr<Channel>.
TcpConnection::channel_
std::unique_ptr<Channel>
I'm so sorry!!!
There is no 'delete' corresponding to the 'new Channel'.