Skip to content

Conversation

akurtakov
Copy link
Contributor

Method createBodyContent calls clearDisposable which empties the disposables collections without actually disposing them leading to dangling references.
Make the method actually dispose all disposables before clearing ensures that all resources are actually freed.

Method createBodyContent calls clearDisposable which empties the
disposables collections without actually disposing them leading to
dangling references.
Make the method actually dispose all disposables before clearing ensures
that all resources are actually freed.
@akurtakov
Copy link
Contributor Author

This fixes the many runtime warnings swt prints about non disposed resources.

@eselmeister eselmeister merged commit 02cd7f2 into OpenChrom:develop Jul 4, 2025
2 checks passed
@akurtakov
Copy link
Contributor Author

akurtakov commented Jul 4, 2025 via email

@eselmeister
Copy link
Contributor

@akurtakov I fully understand what you mean ;-)

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