Пример #1
0
        private void Dispose(bool disposing)
        {
            if (_isDisposed)
            {
                return;
            }

            if (disposing)
            {
                _debuggerTarget?.Dispose();
                _consoleTarget?.Dispose();
                _fileTarget?.Dispose();
                _nLogViewerTarget?.Dispose();
            }

            _isDisposed = true;
        }
Пример #2
0
 public void Dispose()
 {
     m_ConsoleTarget?.Dispose();
     m_FileTarget?.Dispose();
     _self = null;
 }