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

Listeners linger after simulations end #5

Open
mkorbel1 opened this issue Feb 7, 2023 · 0 comments
Open

Listeners linger after simulations end #5

mkorbel1 opened this issue Feb 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mkorbel1
Copy link
Contributor

mkorbel1 commented Feb 7, 2023

Some listeners and subscriptions from Cosim.connectCosimulation do not cancel when a simulation ends. This means if the simulation is reset and started again, at least there's a performance penalty and at worst duplicate actions can break functionality. Listeners and subscriptions should be closed and cancelled once a simulation ends so that the next one is not affected by prior simulations.

@mkorbel1 mkorbel1 added the bug Something isn't working label Feb 7, 2023
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