(self)
| 1097 | os._exit(0) |
| 1098 | |
| 1099 | def POLRestart(self): |
| 1100 | for pid in self.registeredPid: |
| 1101 | try: |
| 1102 | os.kill(-pid, signal.SIGKILL) |
| 1103 | except OSError: |
| 1104 | pass |
| 1105 | try: |
| 1106 | os.kill(pid, signal.SIGKILL) |
| 1107 | except OSError: |
| 1108 | pass |
| 1109 | app.POLServer.closeServer() |
| 1110 | os._exit(63) # Restart code |
| 1111 | |
| 1112 | def ForceClose(self, signal, frame): # Catch SIGINT |
| 1113 | print("\nCtrl+C pressed. Killing all processes...") |
nothing calls this directly
no test coverage detected