void IExtensionApplication.Terminate() { try { m_rhino_core?.Dispose(); } catch { // ignored } }
public void Terminate() { try { m_rhino_core?.Dispose(); } catch { // ignored } }
/// <summary> /// Disposing the context after running all the tests /// </summary> public void Dispose() { // do nothing or... _rhinoCore?.Dispose(); _rhinoCore = null; }
protected override void OnHandleDestroyed(EventArgs e) { _rhinoCore.Dispose(); _rhinoCore = null; base.OnHandleDestroyed(e); }
static void Shutdown() { _rhinoCore.Dispose(); System.Windows.Forms.Application.Exit(); }