Example #1
0
        internal void OnStop()
        {
            tcpListener.Stop();

            gameSession = null;
            foreach (OnlinePlayerJoiningTask task in joinTasks)
            {
                task.OnFinished -= RemoveTask;
                task.Finish();
            }
            joinTasks.Clear();
        }