We support 4.0 until signalr 2.0

Sent from my Windows Phone
________________________________
From: Stephen Halter<mailto:notifications@github.com>
Sent: ý2/ý22/ý2013 10:37 AM
To: SignalR/SignalR<mailto:SignalR@noreply.github.com>
Subject: Re: [SignalR] Fix issue on .NET 4.0 where cancellation token is already disposed. (#1570)


In src/Microsoft.AspNet.SignalR.Core/Infrastructure/CancellationTokenExtensions.cs:

> @@ -28,7 +28,15 @@ public static IDisposable SafeRegister<T>(this CancellationToken cancellationTok
>                      // This normally waits until the callback is finished invoked but we don't care
>                      if (Interlocked.Exchange(ref callbackInvoked, 1) == 0)
>                      {
> -                        registration.Dispose();
> +                        try
> +                        {
> +                            registration.Dispose();
> +                        }
> +                        catch (ObjectDisposedException)
> +                        {
> +                            // Bug #1549, .NET 4.0 has a bug where this throws if the CTS


Are we supporting 4.0 w/ our 1.1 release?

—
Reply to this email directly or view it on GitHub<https://github.com/SignalR/SignalR/pull/1570/files#r3120197>.