Move callback classRemove outside of the loop
Compare changes
Files
2Issue #3120301 by alexpott, zestagio, Wim Leers: RoutePreloader: prevent preloading of routes generated by JSON:API
@@ -8,6 +8,7 @@
@@ -8,6 +8,7 @@
@@ -98,7 +99,7 @@ public function onRequest(KernelEvent $event) {
@@ -98,7 +99,7 @@ public function onRequest(KernelEvent $event) {
@@ -126,4 +127,21 @@ public static function getSubscribedEvents() {
@@ -126,4 +127,21 @@ public static function getSubscribedEvents() {