private void UnwatchActor(IActorRef actor, int channel)
{
int[] counts;
if (_actorWatchCountMap.TryGetValue(actor, out counts) == false)
return;
counts[channel] -= 1;
if (counts.Sum() > 0)
return;
_actorWatchCountMap.Remove(actor);
Context.Unwatch(actor);
}
}