Skip to main content

kill_other_instances

Function kill_other_instances 

Source
pub fn kill_other_instances(
    config: &Config,
    env: &Environment<'_>,
) -> WallSwitchResult<()>
Expand description

Scans for existing instances and writes the current PID atomically.

ยงErrors

Returns a WallSwitchError if dynamic locking or directory serialization fails.