示例#1
0
 public void Close()
 {
     looper.Close();
     // let all peers in group exit
     peerGroup.ExitAll("Game is closed.", null);
     idPool.RecycleID(GameId);
     status = GameStatus.Closed;
 }