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:
Joe Knapper 2026-03-18 16:13:25 +00:00
commit 8bc05ed894

View file

@ -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)