1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-02-23 14:41:27 +00:00
This commit is contained in:
Keivan Beigi 2015-02-07 09:51:06 -08:00
parent e0dd72328c
commit fcb4f8fd58

View file

@ -19,7 +19,7 @@ namespace Microsoft.AspNet.SignalR.Infrastructure
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);