Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer duplicate editor when error occurs in onReady callback. #556

Closed
wants to merge 2 commits into from

Conversation

Mati365
Copy link
Member

@Mati365 Mati365 commented Nov 12, 2024

Suggested merge commit message (convention)

Fix: No longer duplicate editors when error occurs in onReady callback.


Additional information

Throwing exceptions inside onReady might lock semaphore forever, leading to weird artefacts like duplicated elements and too soon watchdog restarts. This PR ensures that onReady is exception free.

Closes https://github.com/cksource/ckeditor5-commercial/issues/6796

@Mati365 Mati365 marked this pull request as draft November 12, 2024 14:05
@Mati365 Mati365 closed this Nov 13, 2024
@Mati365 Mati365 reopened this Nov 13, 2024
@Mati365 Mati365 marked this pull request as ready for review November 13, 2024 14:00
@Mati365 Mati365 requested a review from f1ames November 13, 2024 14:02
@coveralls
Copy link

Pull Request Test Coverage Report for Build e96bc15b-dc3c-4d50-ab54-442fa43f53f8

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build a29952f7-4ab2-4d09-a6e5-b1888419d034: 0.0%
Covered Lines: 594
Relevant Lines: 594

💛 - Coveralls

@Mati365 Mati365 marked this pull request as draft November 13, 2024 14:31
@Mati365 Mati365 closed this Nov 14, 2024
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