diff --git a/lib/Shell.php b/lib/Shell.php index 7875d93..2814736 100644 --- a/lib/Shell.php +++ b/lib/Shell.php @@ -113,8 +113,8 @@ class Shell } $context->setShell($this); $this->context = $context; - $context->onEnter(); $this->dispatchEvent(self::EVT_CONTEXT_CHANGED); + $context->onEnter(); } /**