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

Method removeStoredData

src/debug/threads.ts:193–198  ·  view source on GitHub ↗
(thread: ThreadInfo)

Source from the content-addressed store, hash-verified

191 }
192
193 public removeStoredData(thread: ThreadInfo) {
194 for (const id of Object.keys(this.storedData).map((k) => parseInt(k, 10))) {
195 if (this.storedData[id].thread.num === thread.num)
196 delete this.storedData[id];
197 }
198 }
199
200 public removeAllStoredData() {
201 for (const id of Object.keys(this.storedData).map((k) => parseInt(k, 10))) {

Callers 2

handleIsolateExitMethod · 0.95
handleResumedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected