Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring back Drupal kernel terminate event #5677

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Conversation

weitzman
Copy link
Member

No description provided.

@@ -31,6 +31,7 @@ class DrupalBoot8 extends DrupalBoot

public function __construct(protected ServiceManager $serviceManager, protected $autoloader)
{
register_shutdown_function([$this, 'terminate']);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to leave this in BaseBoot and call parent::__construct here? If we're never going to have more than one kind of bootstrap class any more, then maybe we should instead simplify further. That might be a Drush 12 thing, though.

@weitzman weitzman merged commit 586496f into drush-ops:12.x Jun 28, 2023
1 of 2 checks passed
@weitzman weitzman deleted the terminator branch June 28, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants