Skip to content

Commit

Permalink
[EventDispatcher] cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL committed Apr 2, 2019
1 parent 4f94b17 commit 19134c0
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -290,10 +290,6 @@ private function postProcess($eventName)
if (null !== $this->logger) {
$this->logger->debug('Notified event "{event}" to listener "{listener}".', $context);
}

if (!isset($this->called[$eventName])) {
$this->called[$eventName] = new \SplObjectStorage();
}
} else {
$this->callStack->detach($listener);
}
Expand Down

0 comments on commit 19134c0

Please sign in to comment.