/// <summary> /// /// </summary> public override void Run() { if (this.IsShuttingDown || this.Pause) { return; } ThisApp.WakeUp(); }
private static void currentDomainUnload(object sender, EventArgs e) { ScheduledTasksCoordinator.Current.Dispose(); try { ThisApp.WakeUp(); } catch (Exception ex) { if (ScheduledTasksCoordinator.Current.OnUnexpectedException != null) { ScheduledTasksCoordinator.Current.OnUnexpectedException(ex, new PingTask()); } } }