Skip to content

Conversation

@Bitshifter-9
Copy link

Fixed a race condition in main/export.ts where an export could be marked as completed even if it was canceled by the user.

  • Added cancellation check in Export._start
  • Added reproduction test case test/export-repro.ts
  • Updated electron-store and electron mocks to support the test
    Fix: Export Race Condition #1259

Fixed a race condition in `main/export.ts` where an export could be marked as `completed` even if it was canceled by the user.

- Added cancellation check in `Export._start`
- Added reproduction test case `test/export-repro.ts`
- Updated `electron-store` and `electron` mocks to support the test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant