MCPcopy
hub / github.com/Unitech/pm2 / quit

Function quit

lib/Client.js:558–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

556 var that = this;
557
558 function quit() {
559 that.close(function() {
560 return fn ? fn(null, {success:true}) : false;
561 });
562 }
563
564 // under unix, we listen for signal (that is send by daemon to notify us that its shuting down)
565 if (process.platform !== 'win32' && process.platform !== 'win64') {

Callers 1

Client.jsFile · 0.85

Calls 2

closeMethod · 0.65
fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…