chg: Make mypy happy

pull/382/head
Raphaël Vinot 2022-03-31 16:41:58 +02:00
parent f489938b6b
commit 756f34022f
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ class AbstractManager(ABC):
pass
def _kill_process(self):
if self.process is None:
return
kill_order = [signal.SIGWINCH, signal.SIGTERM, signal.SIGINT, signal.SIGKILL]
for sig in kill_order:
if self.process.poll() is None: