public void StopMatchMaker()
{
if (((this.matchMaker != null) && (this.matchInfo != null)) && ((this.matchInfo.networkId != NetworkID.Invalid) && (this.matchInfo.nodeId != NodeID.Invalid)))
{
this.matchMaker.DropConnection(this.matchInfo.networkId, this.matchInfo.nodeId, this.matchInfo.domain, new NetworkMatch.BasicResponseDelegate(this.OnDropConnection));
}
if (this.matchMaker != null)
{
UnityEngine.Object.Destroy(this.matchMaker);
this.matchMaker = null;
}
this.matchInfo = null;
this.matches = null;
}