Kylin/Nng/Socket.cpp

11 lines
142 B
C++
Raw Normal View History

2024-10-29 21:51:37 +08:00
#include "Socket.h"
namespace Nng {
Socket::~Socket() {
if (m_socket.id != 0) {
nng_close(m_socket);
}
}
} // namespace Nng