Crates.io | shutdown_hooks |
lib.rs | shutdown_hooks |
version | 0.1.0 |
source | src |
created_at | 2015-07-29 10:15:35.048339 |
updated_at | 2015-12-11 23:55:55.315022 |
description | Shutdown hooks for Rust. Currently a friendly wrapper around atexit, will eventually allow you to remove hooks |
homepage | |
repository | https://github.com/Techern/shutdown_hooks_rs |
max_upload_size | |
id | 2707 |
size | 3,587 |
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 :)