public virtual void Dispose() { if (!translator.IsNull()) { translator.pendingEvents.Dispose(); translator = null; } this.Close(); GC.SuppressFinalize(this); }
public virtual void Dispose() { if (!translator.IsNull()) { translator.pendingEvents.Dispose(); translator = null; } this.Close(); GC.Collect(); GC.WaitForPendingFinalizers(); }