clear cts on finish
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
@echo on
|
||||
dotnet publish ./src/PhotinoBlazor.Template/PhotinoBlazor.Template.csproj -c Release
|
||||
dotnet publish ./src/SharpIDE.Photino/SharpIDE.Photino.csproj -c Release
|
||||
pause
|
||||
@@ -104,6 +104,7 @@
|
||||
if (AppState.IdeSettings.OpenTerminalOnBuildRebuildRestore) _terminalDrawerOpen = true;
|
||||
_cancellationTokenSource = new CancellationTokenSource();
|
||||
await BuildService.MsBuildSolutionAsync(_solutionFilePath!, buildType, _cancellationTokenSource.Token);
|
||||
_cancellationTokenSource = null;
|
||||
}
|
||||
private async Task CancelBuild() => await _cancellationTokenSource!.CancelAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user