Merge branch 'sigkill-handling' into 'v3'
Explicit windows check before sigkill for mypy Closes #729 See merge request openflexure/openflexure-microscope-server!547
This commit is contained in:
commit
8bc05ed894
1 changed files with 2 additions and 1 deletions
|
|
@ -225,7 +225,8 @@ class PreviewStitcher(BaseStitcher):
|
|||
# Windows has no SIGKILL
|
||||
self._popen_obj.kill()
|
||||
else:
|
||||
self._popen_obj.send_signal(signal.SIGKILL)
|
||||
# ignore this line in mypy as mypy doesn't understand using the bool as a check
|
||||
self._popen_obj.send_signal(signal.SIGKILL) # type: ignore[attr-defined]
|
||||
raise (e)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue