laravel / lumen-framework

The Laravel Lumen Framework.
https://lumen.laravel.com
MIT License
1.48k stars 416 forks source link

[9.x] Fixes view service provider terminating callbacks #1253

Closed nunomaduro closed 2 years ago

nunomaduro commented 2 years ago

This pull request addresses https://github.com/laravel/lumen-framework/issues/1252, by ensuring Application::terminating is implemented and that it gets called on the console and HTTP layer.

Note, one difference between Lumen / Laravel on this implementation, is that the console handle is calling the $app->terminate on its handle method, as we can't modify the the artisan binaries that already exists on the user skeletons.