Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to delete JMRI object state listener and mqttPubEvents class object instance #99

Open
jonasbjurel opened this issue May 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jonasbjurel
Copy link
Owner

jonasbjurel commented May 19, 2024

Describe the bug
Failing to delete JMRI object state listener (addPropertyChangeListener()) and mqttPubEvents class object instance.

  1. JMRI method: removePropertyChangeListener() Seems not to work, check with a newer JMRI version
  2. JMRI method: addPropertyChangeListener() Seems to create 2 callbacks per event, check with a newer JMRI version
  3. Cannot delete mqttPubEvents class object as the JMRI callback generator has a reference to the object.

To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

@jonasbjurel jonasbjurel changed the title Failing to delete JMRI object state listener Failing to delete JMRI object state listener and mqttPubEvents class object instance May 19, 2024
@jonasbjurel jonasbjurel self-assigned this May 19, 2024
@jonasbjurel jonasbjurel added the bug Something isn't working label May 19, 2024
jonasbjurel added a commit that referenced this issue May 19, 2024
…each time there is a configuration update.<<<<<<<<<<<<<<<<<<

issue 90 temporarilly solved, workaround for Issue #99 and Issue #100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant