mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 12:17:14 -06:00
A cancel that came after the last file's check was not seen: an export without a folder returned its files or its archive anyway. The export now checks once more after the last file and again after deflating the archive, so a cancel returns the cancelled error and nothing is written or returned. zip::deflate takes a `stop` callback that it calls before each 1 MiB of a file. Export for Screens passes the cancel state, so deflating stops at the next MiB. file.package passes one that never stops, so its behavior does not change.