private void TryEndRead(IGridReader reader, string name) { if (reader == null) { return; } try { reader.EndRead(); } catch (Exception ex) { Log.WriterException("RuntimeExchanger", "TryEndRead", ex); } }