mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-28 02:27:13 +00:00
Maybe?
This commit is contained in:
parent
e0dd72328c
commit
fcb4f8fd58
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public static IDisposable SafeRegister(this CancellationToken cancellationToken,
|
|||
var callbackWrapper = new CancellationCallbackWrapper(callback, state);
|
||||
|
||||
// Ensure delegate continues to use the C# Compiler static delegate caching optimization.
|
||||
CancellationTokenRegistration registration = _tokenRegister(ref cancellationToken, s => InvokeCallback(s), callbackWrapper);
|
||||
CancellationTokenRegistration registration = _tokenRegister(ref cancellationToken, InvokeCallback, callbackWrapper);
|
||||
|
||||
var disposeCancellationState = new DiposeCancellationState(callbackWrapper, registration);
|
||||
|
||||
|
|
Loading…
Reference in a new issue