11 lines
142 B
C++
11 lines
142 B
C++
#include "Socket.h"
|
|
|
|
namespace Nng {
|
|
|
|
Socket::~Socket() {
|
|
if (m_socket.id != 0) {
|
|
nng_close(m_socket);
|
|
}
|
|
}
|
|
} // namespace Nng
|