MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / cleanup

Method cleanup

src/server/lifecycle.rs:86–88  ·  view source on GitHub ↗

Clean up server resources (PID file)

(&self)

Source from the content-addressed store, hash-verified

84
85 /// Clean up server resources (PID file)
86 pub fn cleanup(&self) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
87 self.remove_pid()
88 }
89}
90
91#[cfg(test)]

Callers 3

runMethod · 0.80
graceful_shutdownMethod · 0.80
test_server_lifecycleFunction · 0.80

Calls 1

remove_pidMethod · 0.80

Tested by 1

test_server_lifecycleFunction · 0.64