By catch on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
Due to relying on a kernel event subscriber, services tagged with needs_destruction were not destructed on page cache hits.
Drupal\Core\EventSubscriberKernelDestructionSubscriber has been deprecated for removal in 11.x, and services are now destructed by the kernel when necessary.
This will only affect services that are instantiated on a page cache hit, so is unlikely to affect any contributed or custom code.
Impacts:
Site builders, administrators, editors