MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / handleIsolateExit

Method handleIsolateExit

src/debug/threads.ts:206–213  ·  view source on GitHub ↗
(ref: VMIsolateRef)

Source from the content-addressed store, hash-verified

204 }
205
206 public handleIsolateExit(ref: VMIsolateRef) {
207 const threadInfo = this.getThreadInfoFromRef(ref);
208 if (threadInfo) {
209 this.debugSession.sendEvent(new ThreadEvent("exited", threadInfo.num));
210 this.threads.splice(this.threads.indexOf(threadInfo), 1);
211 this.removeStoredData(threadInfo);
212 }
213 }
214}
215
216class StoredData {

Callers 1

handleIsolateEventFunction · 0.80

Calls 3

getThreadInfoFromRefMethod · 0.95
removeStoredDataMethod · 0.95
sendEventMethod · 0.80

Tested by

no test coverage detected