mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Fix DreamMaker progress task
The task wasn't being cancelled correctly and was holding up the compile
This commit is contained in:
@@ -763,7 +763,7 @@ namespace Tgstation.Server.Host.Components.Deployment
|
||||
}
|
||||
|
||||
using var progressCts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
|
||||
var progressTask = estimatedDuration.HasValue ? ProgressTask(progressReporter, estimatedDuration.Value, cancellationToken) : Task.CompletedTask;
|
||||
var progressTask = estimatedDuration.HasValue ? ProgressTask(progressReporter, estimatedDuration.Value, progressCts.Token) : Task.CompletedTask;
|
||||
try
|
||||
{
|
||||
using var byondLock = await byond.UseExecutables(null, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user