MCPcopy Create free account
hub / github.com/Snapchat/Valdi / releaseDap

Method releaseDap

valdi/vscode_debugger/src/sessionManager.ts:235–240  ·  view source on GitHub ↗

* @inheritdoc

(target: ITarget)

Source from the content-addressed store, hash-verified

233 * @inheritdoc
234 */
235 public releaseDap(target: ITarget) {
236 this._sessionForTarget.delete(target);
237 const callbacks = this._sessionForTargetCallbacks.get(target);
238 if (callbacks) callbacks.reject(new Error('Target gone'));
239 this._sessionForTargetCallbacks.delete(target);
240 }
241
242 /**
243 * @inheritdoc

Callers

nothing calls this directly

Calls 3

deleteMethod · 0.65
getMethod · 0.65
rejectMethod · 0.45

Tested by

no test coverage detected