Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed some circular references
  • Loading branch information
fabpot committed Sep 6, 2013
1 parent abb8042 commit 970405f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -50,6 +50,8 @@ public function collect(Request $request, Response $response, \Exception $except
$this->data['route'] = $this->guessRoute($request, $this->controllers[$request]);
}
}

unset($this->controllers[$request]);
}

protected function guessRoute(Request $request, $controller)
Expand Down
Expand Up @@ -135,6 +135,8 @@ public function onKernelResponse(FilterResponseEvent $event)

if ($master) {
$this->saveProfiles($profile);

unset($this->children);
}
}

Expand Down

0 comments on commit 970405f

Please sign in to comment.