def stopService(self):
        service.Service.stopService(self)

        # Cancel any outstanding restarts
        for name, delayedCall in self.restart.items():
            if delayedCall.active():
                delayedCall.cancel()

        for name in self.processes:
            self.stopProcess(name)
Stop all monitored processes and cancel all scheduled process restarts.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/runner/procmon.py/ProcessMonitor.stopService