fixed some circular references
This commit is contained in:
parent
abb8042249
commit
970405f293
@ -50,6 +50,8 @@ class RouterDataCollector extends DataCollector
|
||||
$this->data['route'] = $this->guessRoute($request, $this->controllers[$request]);
|
||||
}
|
||||
}
|
||||
|
||||
unset($this->controllers[$request]);
|
||||
}
|
||||
|
||||
protected function guessRoute(Request $request, $controller)
|
||||
|
@ -135,6 +135,8 @@ class ProfilerListener implements EventSubscriberInterface
|
||||
|
||||
if ($master) {
|
||||
$this->saveProfiles($profile);
|
||||
|
||||
unset($this->children);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user