File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
extensions/ql-vscode/src/model-editor Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import type { CancellationToken } from "vscode";
1818import { CancellationTokenSource } from "vscode" ;
1919import type { QlPackDetails } from "../variant-analysis/ql-pack-details" ;
2020import type { App } from "../common/app" ;
21+ import { MultiCancellationToken } from "../common/vscode/multi-cancellation-token" ;
2122import { ModelAlertsView } from "./model-alerts/model-alerts-view" ;
2223
2324export class ModelEvaluator extends DisposableObject {
@@ -68,11 +69,11 @@ export class ModelEvaluator extends DisposableObject {
6869
6970 // Submit variant analysis and monitor progress
7071 return withProgress (
71- ( progress ) =>
72+ ( progress , token ) =>
7273 this . runVariantAnalysis (
7374 qlPack ,
7475 progress ,
75- this . cancellationSource . token ,
76+ new MultiCancellationToken ( token , this . cancellationSource . token ) ,
7677 ) ,
7778 {
7879 title : "Run model evaluation" ,
You can’t perform that action at this time.
0 commit comments