This commit is contained in:
2026-06-24 20:11:11 +08:00
parent 7827b8d5b1
commit c38fb6ac4c
2 changed files with 72 additions and 0 deletions
+3
View File
@@ -589,6 +589,9 @@ class Scanner extends Component
if (method_exists($this->container, 'forgetClass')) {
$this->container->forgetClass($class);
}
if (class_exists(\Kiri\Router\Annotate\DeferRegistry::class)) {
\Kiri\Router\Annotate\DeferRegistry::removeClass($class);
}
}
}
}