Esempio n. 1
0
        public void Dispose()
        {
            _charBuff.Dispose();
            _continueBuff.Dispose();

            _preamble.Dispose();
            _info.Dispose();
        }
        public void Dispose()
        {
            _byteBuffer.Dispose();

            _info.Target->DisposeReadHandle();
            _info.Dispose();

            _readCmd.Dispose();
        }
        public void Dispose()
        {
            if (_allocated)
            {
                _parser.Dispose();
                _state.Dispose();

                _allocated = true;
            }
        }
Esempio n. 4
0
 void Dispose(bool disposing)
 {
     // disposing managed resource
     if (disposing)
     {
     }
     // disposing unmanaged resource
     if (_list.IsCreated)
     {
         _list.Dispose();
         _start.Dispose();
     }
 }
Esempio n. 5
0
        void Dispose(bool disposing)
        {
            // disposing managed resource
            if (disposing)
            {
            }
            // disposing unmanaged resource
            if (_info.Target->allocated)
            {
                if (_info.Target->disposePathHandle)
                {
                    _path.Dispose();
                }

                _info.Dispose();
                _byteBuffer.Dispose();
                _readCommands.Dispose();
            }
        }
            public void Dispose(bool disposing)
            {
                if (disposing)
                {
                    this.Complete();

                    this.DisposeHandle();

                    if (_info.Target->allocated)
                    {
                        _byteReader.Dispose();
                        _worker.Dispose();

                        _lines.Dispose();

                        _info.Target->allocated = false;
                    }
                    _info.Dispose();
                }
            }
 public unsafe void Dispose()
 {
     this.DisposeHandle();
     _target.Dispose();
     _info.Dispose();
 }
 public void Dispose()
 {
     _info.Dispose();
 }