Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

The on-demand creation of Font handles does not consider that a font may already have been disposed when first retrieving it's handle, which triggers the on-demand initialization. To avoid that this initialization after disposal fails, this change adds a check for the font being destroyed when performing the initialization.

Fixes eclipse-platform/eclipse.platform.ui#2960

@HeikoKlare HeikoKlare marked this pull request as ready for review May 7, 2025 07:41
@github-actions
Copy link
Contributor

github-actions bot commented May 7, 2025

Test Results

   545 files  ±0     545 suites  ±0   28m 37s ⏱️ - 5m 48s
 4 376 tests ±0   4 358 ✅ ±0   18 💤 ±0  0 ❌ ±0 
16 643 runs  ±0  16 502 ✅ ±0  141 💤 ±0  0 ❌ ±0 

Results for commit eb20f0c. ± Comparison against base commit b8d884b.

♻️ This comment has been updated with latest results.

The on-demand creation of Font handles does not consider that a font may
already have been disposed when first retrieving it's handle, which
triggers the on-demand initialization. To avoid that this initialization
after disposal fails, this change adds a check for the font being
destroyed when performing the initialization.

Fixes eclipse-platform/eclipse.platform.ui#2960
Copy link
Contributor

@amartya4256 amartya4256 left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me.

Copy link
Member

@fedejeanne fedejeanne left a comment

Choose a reason for hiding this comment

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

Makes sense

@fedejeanne fedejeanne merged commit cababba into eclipse-platform:master May 7, 2025
17 checks passed
@fedejeanne fedejeanne deleted the issue-ui-2960 branch May 7, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants