- Timestamp:
- Apr 6, 2019 6:07:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/darwin/HostDnsServiceDarwin.cpp
r78030 r78033 91 91 AssertReturn(m->m_SourceStop, E_FAIL); 92 92 93 CFRunLoopAddSource(m->m_RunLoopRef, m->m_SourceStop, kCFRunLoopCommonModes);94 95 93 HRESULT hrc = HostDnsServiceBase::init(pProxy); 96 94 return hrc; … … 101 99 HostDnsServiceBase::uninit(); 102 100 103 CFRunLoopRemoveSource(m->m_RunLoopRef, m->m_SourceStop, kCFRunLoopCommonModes);104 101 CFRelease(m->m_SourceStop); 105 106 102 CFRelease(m->m_RunLoopRef); 107 108 103 CFRelease(m->m_DnsWatcher); 109 110 104 CFRelease(m->m_store); 111 105 … … 134 128 135 129 CFRetain(m->m_RunLoopRef); 130 131 CFRunLoopAddSource(m->m_RunLoopRef, m->m_SourceStop, kCFRunLoopCommonModes); 136 132 137 133 CFArrayRef watchingArrayRef = CFArrayCreate(NULL, … … 159 155 CFRunLoopRun(); 160 156 } 157 158 CFRunLoopRemoveSource(m->m_RunLoopRef, m->m_SourceStop, kCFRunLoopCommonModes); 161 159 162 160 /* We're notifying stopper thread. */
Note:
See TracChangeset
for help on using the changeset viewer.