Skip to content

Commit 534b761

Browse files
committed
FCCEngine dispose cancellationTokenSource
1 parent f28d696 commit 534b761

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SharedProject/Core/FCCEngine.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ private void DisplayCoverageResult(System.Threading.Tasks.Task<(List<CoverageLin
269269
break;
270270
}
271271
reportGeneratorUtil.EndOfCoverageRun();
272+
cancellationTokenSource.Dispose();
273+
cancellationTokenSource = null;
272274

273275
}
274276

@@ -328,6 +330,7 @@ public void ReloadCoverage(Func<System.Threading.Tasks.Task<List<ICoverageProjec
328330
.ContinueWith(DisplayCoverageResult, System.Threading.Tasks.TaskScheduler.Default);
329331

330332
}
333+
331334
}
332335

333336
}

0 commit comments

Comments
 (0)