Example #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    if (_debuggee != null)
                    {
                        _debuggee.Dispose();
                        _debuggee = null;
                    }

                    if (_debuggerUpdatedEvent != null)
                    {
                        _debuggerUpdatedEvent.Dispose();
                        _debuggerUpdatedEvent = null;
                    }
                }

                _disposed = true;
            }
        }