()
| 1616 | } |
| 1617 | |
| 1618 | async function svClear() { |
| 1619 | try { |
| 1620 | const stopped = supervisorProcesses.value.filter(p => svIsStopped(p)); |
| 1621 | for (const p of stopped) { |
| 1622 | await baseRpcCall('/prpc/SvRemove', { id: p.id }); |
| 1623 | } |
| 1624 | await loadSupervisorProcesses(); |
| 1625 | } catch (error) { |
| 1626 | recordError('Failed to clear stopped processes', error); |
| 1627 | } |
| 1628 | } |
| 1629 | |
| 1630 | onMounted(() => { |
| 1631 | watchVmList(); |
nothing calls this directly
no test coverage detected