This commit is contained in:
Stephan
2015-02-17 15:09:29 +01:00
committed by Shannon
parent 4c3de920c6
commit 58ce04e26b
6 changed files with 14 additions and 13 deletions

View File

@@ -44,11 +44,11 @@ namespace Umbraco.Web.Scheduling
base.Run();
}
public override async Task RunAsync()
public override async Task RunAsync(CancellationToken token)
{
if (_latch != null)
_latch.Dispose();
await base.RunAsync();
await base.RunAsync(token);
}
public WaitHandle Latch