Skip to content

Commit

Permalink
Release resources after closed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevermore1994 committed Jul 31, 2024
1 parent c987d98 commit e8f1d1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TSLSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ std::tuple<SocketResult, DataPtr> TSLSocket::receive() const noexcept {
void TSLSocket::close() noexcept {
SSLManager::close(sslPtr);
ISocket::close();
sslPtr.reset();
}

SocketResult TSLSocket::canSend(int64_t timeout) const noexcept {
Expand Down

0 comments on commit e8f1d1d

Please sign in to comment.