Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
This commit is contained in:
Erik Hollensbe
2021-08-30 17:17:01 -07:00
parent 89dc2b0933
commit dade04c4d5
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "eggshell"
version = "0.1.1"
version = "0.1.2"
edition = "2018"
authors = ["Erik Hollensbe <linux@hollensbe.org>", "Adam Ierymenko <adam.ierymenko@zerotier.com>"]
description = "Remove testing docker containers after this object goes away"
+4
View File
@@ -63,6 +63,9 @@ lazy_static! {
/// your tests. A wait function can be supplied to perform any final settling before terminating
/// the test program.
///
/// In the event multiple signal handlers are spawned, N+1 handlers will simply run the wait hook
/// and return. Only the first execution is responsible for reaping all eggshells.
///
/// ```
/// use eggshell::supervise_signals;
/// use std::time::Duration;
@@ -83,6 +86,7 @@ where
supervisor.replace(());
drop(supervisor)
} else {
wait_hook.await;
return;
}