public function onDispatcherReady()
{
if ($this->dispatcher && $this->dispatcher->isReady()) {
$context = $this->currentContext;
$event = $this->currentEvent;
$this->dispatcher = null;
$this->currentContext = null;
$this->currentEvent = null;
$this->doCheckTransitions($context, $event);
$this->mutex->releaseLock();
}
}