protected override void PostShutdownCore(bool shutdownHost) { #if !ENABLE_DYNAMO_SCHEDULER IdlePromise.ClearPromises(); IdlePromise.Shutdown(); #endif base.PostShutdownCore(shutdownHost); }
/// <summary> /// Executes right before Dynamo closes, gives you the chance to cache whatever you might want. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void dynamoView_Closing(object sender, EventArgs e) { // cache the size of the window for later reloading dynamoViewX = dynamoView.Left; dynamoViewY = dynamoView.Top; dynamoViewWidth = dynamoView.ActualWidth; dynamoViewHeight = dynamoView.ActualHeight; IdlePromise.ClearPromises(); }
protected override void PostShutdownCore(bool shutdownHost) { IdlePromise.ClearPromises(); IdlePromise.Shutdown(); base.PostShutdownCore(shutdownHost); }
/// <summary> /// Executes right before Dynamo closes, gives you the chance to cache whatever you might want. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void DynamoView_Closing(object sender, EventArgs e) { IdlePromise.ClearPromises(); IdlePromise.Shutdown(); }