MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / shutdown_runtime

Function shutdown_runtime

python/src/runtime.rs:179–185  ·  view source on GitHub ↗

Shutdown runtime gracefully (for testing and cleanup)

()

Source from the content-addressed store, hash-verified

177
178/// Shutdown runtime gracefully (for testing and cleanup)
179pub(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)]
188mod tests {

Callers 1

shutdownFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected