MCPcopy Index your code
hub / github.com/nodejs/node / stop

Method stop

lib/internal/watchdog.js:41–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 stop() {
42 if (!this._started) {
43 return;
44 }
45 this._started = false;
46 process.removeListener('newListener', this._onNewListener);
47 process.removeListener('removeListener', this._onRemoveListener);
48
49 if (this._effective) {
50 super.stop();
51 this._effective = false;
52 }
53 }
54}
55
56

Callers

nothing calls this directly

Calls 2

stopMethod · 0.65
removeListenerMethod · 0.45

Tested by

no test coverage detected