Example #1
0
        public virtual void Dispose()
        {
            if (!translator.IsNull())
            {
                translator.pendingEvents.Dispose();
                translator = null;
            }

            this.Close();
            GC.Collect();
            GC.WaitForPendingFinalizers();
        }