Skip to content

Conversation

@Vishal8523
Copy link

To fix the issue of accumulating listeners. The issue of accumulating listeners occurs because the code does not remove the forwardPropertyChange listener from the property interface when the DbusInterfaceBase instance is destroyed or when the PropertiesChanged event is no longer needed.

To fix the issue of accumulating listeners
@Vishal8523
Copy link
Author

Vishal8523 commented May 29, 2023

@Niels-Be : Request you to check it. This causes memory leaks in long running applications. The node hangs randomly and then generates a memory leak

@Niels-Be
Copy link
Owner

The forwardPropertyChange should be removed when there are no more PropertyChange listeners.
So maybe you are not removing them in your app?

I don`t think this PR would change anything from this behavior.

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