mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-02 09:34:56 -05:00
There's a race condition where a canceled session may emit a progress event or two after it's been canceled, and the progress image isn't cleared out. To resolve this, the system slice tracks canceled session ids. When a progress event comes in, we check the cancellations and skip setting the progress if canceled.