public void Dispose() { playServer.Dispose(); if (logServer != null) { logServer.Dispose(); } if (gameSession != null) { gameSession.EndSession(null); } }