Browse Source

Update OpenIddictServerQuartzJob.cs

pull/1074/head
Kévin Chalet 6 years ago
committed by GitHub
parent
commit
74d2547262
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/OpenIddict.Server.Quartz/OpenIddictServerQuartzJob.cs

4
src/OpenIddict.Server.Quartz/OpenIddictServerQuartzJob.cs

@ -97,7 +97,7 @@ namespace OpenIddict.Server.Quartz
throw;
}
// OperationCanceledExceptions are typically thrown the host is about to shut down.
// OperationCanceledExceptions are typically thrown when the host is about to shut down.
// To allow the host to shut down as fast as possible, this exception type is special-cased
// to prevent further processing in this job and inform Quartz.NET it shouldn't be refired.
catch (OperationCanceledException exception) when (exception.CancellationToken == context.CancellationToken)
@ -154,7 +154,7 @@ namespace OpenIddict.Server.Quartz
throw;
}
// OperationCanceledExceptions are typically thrown the host is about to shut down.
// OperationCanceledExceptions are typically thrown when the host is about to shut down.
// To allow the host to shut down as fast as possible, this exception type is special-cased
// to prevent further processing in this job and inform Quartz.NET it shouldn't be refired.
catch (OperationCanceledException exception) when (exception.CancellationToken == context.CancellationToken)

Loading…
Cancel
Save