Skip to content

Fix PDEFormEditor.dispose() calling super.dispose() first#1964

Merged
iloveeclipse merged 1 commit intoeclipse-pde:masterfrom
iloveeclipse:issue_1963
Sep 11, 2025
Merged

Fix PDEFormEditor.dispose() calling super.dispose() first#1964
iloveeclipse merged 1 commit intoeclipse-pde:masterfrom
iloveeclipse:issue_1963

Conversation

@iloveeclipse
Copy link
Member

Common pattern for init/dispose, setup/teardown is that on init, super is called first and on dispose last.

This is always done this way to allow super class initialize whatever needed first and subclass work on that, and the dispose should always perform cleanup in the opposite direction. Otherwise super code might cleanup things that are still needed for the subclass to properly cleanup.

Probably related to
#1963

Common pattern for init/dispose, setup/teardown is that on init, super
is called first and on dispose last.

This is always done this way to allow super class initialize whatever
needed first and subclass work on that, and the dispose should always
perform cleanup in the opposite direction. Otherwise super code might
cleanup things that are still needed for the subclass to properly
cleanup.

Probably related to
eclipse-pde#1963
@iloveeclipse
Copy link
Member Author

The Linux github build hangs since hours probably trying to upload results, other (Jenkins) Linux build is fine.
M1 is the best time for such changes, merging.

@iloveeclipse iloveeclipse merged commit 1ac91ea into eclipse-pde:master Sep 11, 2025
17 of 18 checks passed
@iloveeclipse iloveeclipse deleted the issue_1963 branch September 11, 2025 17:43
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