MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / stopConnection

Function stopConnection

apps/desktop/src/main/index.ts:145–148  ·  view source on GitHub ↗
(conn: SidecarConnection)

Source from the content-addressed store, hash-verified

143 * state must never kill it. Spawned sidecars (`child` set) are stopped as before.
144 */
145const stopConnection = async (conn: SidecarConnection): Promise<void> => {
146 if (conn.supervisedDaemon || !conn.child) return;
147 await stopSidecar(conn.child);
148};
149
150const webUrlForConnection = (conn: SidecarConnection): string => {
151 const url = new URL(conn.baseUrl);

Callers 5

restartSidecarAndReloadFunction · 0.85
registerIpcHandlersFunction · 0.85
setupAutoUpdaterFunction · 0.85
bootFunction · 0.85
index.tsFile · 0.85

Calls 1

stopSidecarFunction · 0.90

Tested by

no test coverage detected