field_ios

In-the-field app for Radroots on iOS
git clone https://radroots.dev/git/field_ios.git
Log | Files | Refs | README | LICENSE

commit ca3378e0c4a9cf8b9a1bd1ba292d1570ee64aaf5
parent 829d341c5f54d77db6f175dfb12ff5f325286a30
Author: triesap <tyson@radroots.org>
Date:   Thu,  5 Mar 2026 20:18:34 +0000

app-core: reflow runtime stop logging

- wrap log_info calls in stop for readability
- keep runtime shutdown behavior unchanged
- preserve existing logging messages
- tests: cargo check -p radroots-app-core; cargo test -p radroots-app-core

Diffstat:
Mcore/crates/tera_core/src/runtime/mod.rs | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/core/crates/tera_core/src/runtime/mod.rs b/core/crates/tera_core/src/runtime/mod.rs @@ -70,7 +70,9 @@ impl RadrootsRuntime { pub fn stop(&self) { if self.shutting_down.swap(true, Ordering::SeqCst) { - let _ = crate::logging::log_info("Runtime stop already in progress or completed.".to_string()); + let _ = crate::logging::log_info( + "Runtime stop already in progress or completed.".to_string(), + ); return; } @@ -83,13 +85,17 @@ impl RadrootsRuntime { let _ = crate::logging::log_info("No runtime was active at stop.".to_string()); } } else { - let _ = crate::logging::log_info("Failed to acquire runtime lock during stop.".to_string()); + let _ = crate::logging::log_info( + "Failed to acquire runtime lock during stop.".to_string(), + ); } } #[cfg(not(feature = "rt"))] { - let _ = crate::logging::log_info("No managed runtime is available for this build.".to_string()); + let _ = crate::logging::log_info( + "No managed runtime is available for this build.".to_string(), + ); } }