mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Fix not being able to cancel a deployment during DMAPI validation
This commit is contained in:
@@ -805,7 +805,7 @@ namespace Tgstation.Server.Host.Components.Deployment
|
||||
using (var provider = new TemporaryDmbProvider(ioManager.ResolvePath(job.DirectoryName.ToString()), String.Concat(job.DmeName, DmbExtension), job))
|
||||
await using (var controller = await sessionControllerFactory.LaunchNew(provider, byondLock, launchParameters, true, cancellationToken))
|
||||
{
|
||||
var launchResult = await controller.LaunchResult;
|
||||
var launchResult = await controller.LaunchResult.WithToken(cancellationToken);
|
||||
|
||||
if (launchResult.StartupTime.HasValue)
|
||||
await controller.Lifetime.WithToken(cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user