Exemplo n.º 1
0
 public void onShutdown()
 {
     if (null != lifecycle)
     {
         lifecycle.OnShutdown();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Notifies the EventHandler immediately prior to this processor shutting down.
 /// </summary>
 private void NotifyShutdown()
 {
     try
     {
         _lifecycleAware?.OnShutdown();
     }
     catch (Exception e)
     {
         _exceptionHandler?.HandleOnShutdownException(e);
     }
 }