Kévin Chalet
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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) |
|
|
|
|