()
| 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 |
nothing calls this directly
no test coverage detected