MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / stopServer

Function stopServer

main.js:213–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211}
212
213async function stopServer () {
214 console.log('Killing server…', isOffline());
215 if (!isOffline()) {
216 cur.server.kill('SIGTERM');
217 }
218}
219
220// Wait for the server
221Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, 1000);

Callers 1

onExitFunction · 0.85

Calls 1

isOfflineFunction · 0.85

Tested by

no test coverage detected