Beispiel #1
0
        /// <summary>
        /// Releases the unmanaged resources used by the Emmet.EmmetPackage and optionally releases the
        /// managed resources.
        /// </summary>
        /// <param name="disposing">
        /// true to release both managed and unmanaged resources; false to release only unmanaged resources.
        /// </param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _engine.Dispose();
            }

            base.Dispose(disposing);
        }
Beispiel #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (this.disposed)
            {
                return;
            }
            if (disposing)
            {
                if (engine != null)
                {
                    engine.FinalizeEngine();
                    engine.Dispose();
                }
            }

            this.disposed = true;
        }
Beispiel #3
0
 public static void ClassCleanup()
 {
     _engine.Dispose();
     _engine = null;
 }
 void IComBrowserView.Dispose()
 {
     _engineWrapper.Dispose();
     EventLogWrapper.Log("ComBrowserView disposed", EventLogEntryType.Information, 201);
 }
 public void CleanUp()
 {
     _engine.Dispose();
     _engine = null;
 }