We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ff742 commit 23ab519Copy full SHA for 23ab519
Bootstraps/Symfony.php
@@ -111,6 +111,13 @@ public function postHandle($app)
111
{
112
$container = $app->getContainer();
113
114
+ if ($container->has('doctrine')) {
115
+ $em = $container->get("doctrine");
116
+ if (!$em->getManager()->isOpen()) {
117
+ $em->resetManager();
118
+ }
119
120
+
121
//resets stopwatch, so it can correctly calculate the execution time
122
if ($container->has('debug.stopwatch')) {
123
$container->get('debug.stopwatch')->__construct();
0 commit comments