MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / detach

Method detach

src/hx/Debugger.cpp:153–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 void detach()
154 {
155 mAttached = false;
156 gMutex.lock();
157 gList.remove(this);
158 gMap.erase(mThreadNumber);
159 mBreakpoints = ReleaseBreakpointsLocked(mBreakpoints);
160 gMutex.unlock();
161 reset();
162
163 Dynamic handler = hx::g_eventNotificationHandler;
164 if (handler != null())
165 handler(mThreadNumber, hx::THREAD_TERMINATED);
166 }
167
168 void enable(bool inEnable)
169 {

Callers 1

dbgCtxDetachFunction · 0.45

Calls 4

ReleaseBreakpointsLockedFunction · 0.85
removeMethod · 0.80
eraseMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected