Shutdown tasks annotated with @Scheduled when waitForTasksToCompleteOnShutdown is true
- ScheduledTaskRegistrar: shutdown taskScheduler of ExecutorConfigurationSupport type in destroy()
- 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.