summaryrefslogtreecommitdiffstats
path: root/src/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.rs')
-rw-r--r--src/runtime.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime.rs b/src/runtime.rs
index 029e68a8..5eb3ddf7 100644
--- a/src/runtime.rs
+++ b/src/runtime.rs
@@ -135,6 +135,10 @@ impl<'a> Runtime<'a> {
e
}
+ pub fn report_exit(&self) -> bool {
+ self.config.report_exit() || self.configuration.report_exit()
+ }
+
}
impl<'a> Debug for Runtime<'a> {