diff --git a/Bootstraps/Symfony.php b/Bootstraps/Symfony.php index 9206170..8092a9b 100644 --- a/Bootstraps/Symfony.php +++ b/Bootstraps/Symfony.php @@ -136,6 +136,8 @@ public function postHandle($app) $em = $container->get("doctrine"); if (!$em->getManager()->isOpen()) { $em->resetManager(); + } else { + $em->getManager()->clear(); } }