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

New shutdown handler #589

Open
WinterSilence opened this issue Dec 13, 2014 · 2 comments
Open

New shutdown handler #589

WinterSilence opened this issue Dec 13, 2014 · 2 comments
Milestone

Comments

@WinterSilence
Copy link

Need extend or replace method Kohana::shutdown_handler() for adding handlers for other classes (__destruct() is sometimes unstable).

As example my class ShutdownHandler.

@acoulton
Copy link
Member

You mean so that applications can add their code to a stack to be run by us, rather than calling register_shutdown_function directly? Sounds interesting. Presumably we could make this relatively BC.

@WinterSilence
Copy link
Author

Yes, shutdown stack. Pluses: attenuated depending to Kohana_Core, adding to top of list.

@neo22s neo22s added this to the 5.0.0 milestone Mar 21, 2016
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

No branches or pull requests

3 participants