Exemplo n.º 1
0
 void IExtensionApplication.Terminate()
 {
     try
     {
         m_rhino_core?.Dispose();
     }
     catch
     {
         // ignored
     }
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 4
0
 protected override void OnHandleDestroyed(EventArgs e)
 {
     _rhinoCore.Dispose();
     _rhinoCore = null;
     base.OnHandleDestroyed(e);
 }
Exemplo n.º 5
0
 static void Shutdown()
 {
     _rhinoCore.Dispose();
     System.Windows.Forms.Application.Exit();
 }