Allow preview to cancel!

This commit is contained in:
Julian Stirling 2025-08-12 15:35:39 +01:00
parent 7ea92ad55f
commit 05644456e0
2 changed files with 17 additions and 10 deletions

View file

@ -466,7 +466,7 @@ class SmartScanThing(lt.Thing):
self._scan_logger.info("Waiting for background processes to finish...")
if self._preview_stitcher is not None:
self._preview_stitcher.wait()
self._preview_stitcher.wait(self._cancel)
if self._scan_data.stitch_automatically:
self._scan_logger.info("Stitching final image (may take some time)...")