protected virtual void OnActorDisconnected(object sender, ActorDisconnectedEventArgs e)
 {
     if (Disconnected != null)
     {
         Disconnected(sender, e);
     }
 }
Exemplo n.º 2
0
        private void OnActorDisconnected(object sender, ActorDisconnectedEventArgs e)
        {
            _channels.Remove(e.RemoteActor.GetKey());
            _actorKeys.Remove(e.RemoteActor.GetKey());

            if (Disconnected != null)
            {
                Disconnected(sender, e);
            }
        }