Shutdown tasks annotated with @Scheduled when waitForTasksToCompleteOnShutdown is true

  1. ScheduledTaskRegistrar: shutdown taskScheduler of ExecutorConfigurationSupport type in destroy()
  2. ScheduledAnnotationBeanPostProcessor: do not cancel tasks in destroy(), taskRegistrar cancel them

Closes gh-26482

Comment From: jhoeller

This is effectively superseded by #31019 and the wider lifecycle revision in 6.1 in general.