Shutdown runtime gracefully (for testing and cleanup)
()
| 177 | |
| 178 | /// Shutdown runtime gracefully (for testing and cleanup) |
| 179 | pub(crate) fn shutdown_runtime() { |
| 180 | if GRAPHBIT_RUNTIME.get().is_some() { |
| 181 | info!("Shutting down GraphBit runtime gracefully"); |
| 182 | // Note: In production, runtime shutdown is handled automatically |
| 183 | // This is primarily for testing scenarios |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | #[cfg(test)] |
| 188 | mod tests { |