Implemented a graceful disconnect and did some UI clean up

@davidfowl @mikary @abnanda1 
That field needs to be 0 because if you look further in the code, we use it to keep track of the number of total connections requested: targetConnectionCount += numberOfConnections

From: Eilon Lipton [mailto:notifications@github.com]
Sent: Friday, August 15, 2014 10:27 AM
To: SignalR/DCrank
Cc: Felicco Toney
Subject: Re: [DCrank] Implemented a graceful disconnect and did some UI clean up (#50)


In src/Microsoft.AspNet.SignalR.DCrank.Crank/Worker.cs:

> @@ -13,6 +13,7 @@ public class Worker

>      {

>          private readonly Process _agentProcess;

>          private List<Client> _clients;

> +        private int targetConnectionCount = 0;

Don't initialize class fields to default values.

—
Reply to this email directly or view it on GitHub<https://github.com/SignalR/DCrank/pull/50/files#r16304044>.