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