HostDnsServiceDarwin::~HostDnsServiceDarwin() { if (!m) return; monitorThreadShutdown(); CFRelease(m->m_RunLoopRef); CFRelease(m->m_DnsWatcher); CFRelease(m->m_store); RTSemEventDestroy(m->m_evtStop); delete m; m = NULL; }
HostDnsServiceLinux::~HostDnsServiceLinux() { monitorThreadShutdown(); }