5 releases
Uses old Rust 2015
0.1.0 | Jul 29, 2015 |
---|---|
0.0.3 | Jul 29, 2015 |
0.0.2 | Jul 29, 2015 |
0.0.1 | Jul 29, 2015 |
0.0.0 | Jul 29, 2015 |
#19 in #stdlib
35,797 downloads per month
Used in 5 crates
(3 directly)
3KB
shutdown_hooks
Shutdown hook functionality for Rust. Basically a wrapper around atexit for now
An unspecified future release will feature the ability to remove shutdown hooks
#Notes
So far, I have successfully tested an eight-second long shutdown hook under Windows. I haven't tested any longer than that, but you should be fine. If not, you would have faced the same issue with atexit anyway :)
lib.rs
:
Provides access to shutdown hooks
Currently, only adding new hooks is supported.
An unspecified future release will have a collection of hooks and have the ability to remove them