Skip to content

Conversation

@mickael-menu
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses a potential race condition in the EPUB navigator by adding proper task lifecycle management for the spread loading process. The fix ensures that async tasks can be cancelled when the spread view is being cleaned up.

Changes:

  • Added a spreadLoadTask property to track the async task created when spread loading completes
  • Updated clear() method to stop web view loading and cancel any pending spread load task
  • Modified spreadDidLoad(_ body: Any) to store the task reference for later cancellation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mickael-menu mickael-menu merged commit ba12d2f into develop Jan 27, 2026
11 checks passed
@mickael-menu mickael-menu deleted the fix/ui-tests branch January 27, 2026 16:24
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.

2 participants