Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

@HeikoKlare HeikoKlare commented Oct 30, 2024

Resources with zoom support are registered at their device so that handles for zoom levels that are not necessary anymore can be disposed. When these resources are destroyed, they are currently not de-registered form their device, potentially leading to resource leaks. This change makes the resources de-register themselves form their device when being destroyed.

Fixes regression from:

Fixes eclipse-jdt/eclipse.jdt.ui#1752

{73E6A5F0-38EC-48D0-AF43-F821B5B4FD56}

@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2024

Test Results

   483 files  ±0     483 suites  ±0   8m 26s ⏱️ +7s
 4 095 tests ±0   4 085 ✅ ±0   7 💤 ±0  3 ❌ ±0 
16 173 runs  ±0  16 080 ✅ ±0  90 💤 ±0  3 ❌ ±0 

For more details on these failures, see this check.

Results for commit a9d64a8. ± Comparison against base commit 5d67ce6.

♻️ This comment has been updated with latest results.

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.

Thank you for the fix!

@HeikoKlare HeikoKlare force-pushed the deregister-resources branch from 96190c3 to 893479d Compare October 30, 2024 14:34
@HeikoKlare HeikoKlare marked this pull request as ready for review October 30, 2024 14:34
@akoch-yatta
Copy link
Contributor

Looks good to me

Resources with zoom support are registered at their device so that
handles for zoom levels that are not necessary anymore can be disposed.
When these resources are destroyed, they are currently not de-registered
form their device, potentially leading to resource leaks. This change
makes the resources de-register themselves form their device when being
destroyed.

Supplements
eclipse-platform#1477
@HeikoKlare HeikoKlare force-pushed the deregister-resources branch from 893479d to a9d64a8 Compare October 30, 2024 15:39
@HeikoKlare HeikoKlare changed the title De-register resources with zoom support from device [win] De-register resources with zoom support from device Oct 31, 2024
@HeikoKlare
Copy link
Contributor Author

Failing tests are Linux-specific and documented: #1564

@HeikoKlare HeikoKlare merged commit d54cfca into eclipse-platform:master Oct 31, 2024
12 of 14 checks passed
@HeikoKlare HeikoKlare deleted the deregister-resources branch October 31, 2024 07:21
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.

JavaLeakTest fail on windows since I20241021-0550

3 participants