Add comment about disposal of debug adapter tracker
This commit is contained in:
@@ -174,6 +174,7 @@ export class DebuggerUI
|
|||||||
session: DebugSession,
|
session: DebugSession,
|
||||||
): DebugAdapterTracker | undefined {
|
): DebugAdapterTracker | undefined {
|
||||||
if (session.type === "codeql") {
|
if (session.type === "codeql") {
|
||||||
|
// The tracker will be disposed in its own `onWillStopSession` handler.
|
||||||
const tracker = new QLDebugAdapterTracker(
|
const tracker = new QLDebugAdapterTracker(
|
||||||
session,
|
session,
|
||||||
this,
|
this,
|
||||||
|
|||||||
Reference in New Issue
Block a user