protected virtual void Dispose(bool disposing) { if (!_disposed) { _disposed = true; if (disposing) { _run = false; _udpServer?.Dispose(); } } }
public void Dispose() { _serverSokcet?.Dispose(); _tlsCertificate?.Dispose(); }
public void Dispose() { _dataSocket?.Dispose(); _dataSocket = null; }
public void Dispose() { ChannelManager.Instance.Clear(); serverSokcet?.Dispose(); }