Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Null out the subscription if it's not in use.

  • Loading branch information...
commit 1d96b679cbeda73012e7886f6f3faf1f31a8fd61 1 parent 264fd0b
@davidfowl davidfowl authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/Microsoft.AspNet.SignalR.Core/MessageBus/MessageBroker.cs
View
3  src/Microsoft.AspNet.SignalR.Core/MessageBus/MessageBroker.cs
@@ -250,6 +250,9 @@ private void PumpImplAsync(Task workTask, ISubscription subscription, TaskComple
}
else
{
+ // Don't reference the subscription anymore
+ subscription = null;
+
PumpImpl(taskCompletionSource);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.