pub(super) fn remove_process(&self, id: KoID) {
        let mut inner = self.inner.lock();
        inner.processes.retain(|proc| proc.id() != id);
        if inner.killed && inner.processes.is_empty() && inner.children.is_empty() {
            drop(inner);
            self.terminate()
        }
    }
/// Remove a process from the job.
Remove a process from the job.
Remove a process from the job .
pub(super) fn remove_process(&self, id: KoID) {
        let mut inner = self.inner.lock();
        inner.processes.retain(|proc| proc.id() != id);
        if inner.killed && inner.processes.is_empty() && inner.children.is_empty() {
            drop(inner);
            self.terminate()
        }
    }
pub ( super ) fn remove_process ( & self , id : KoID ) { let mut inner = self . inner . lock ( ) ; inner . processes . retain ( | proc | proc . id ( ) != id ) ; if inner . killed && inner . processes . is_empty ( ) && inner . children . is_empty ( ) { drop ( inner ) ; self . terminate ( ) } }
Remove a process from the job.
Remove a process from the job .
&self
id
KoID
&self
id
KoID