Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
run
Method · 0.80
graceful_shutdown
Method · 0.80
test_server_lifecycle
Function · 0.80
Calls
1
remove_pid
Method · 0.80
Tested by
1
test_server_lifecycle
Function · 0.64