rohd-cosim icon indicating copy to clipboard operation
rohd-cosim copied to clipboard

Listeners linger after simulations end

Open mkorbel1 opened this issue 2 years ago • 0 comments

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 avatar Feb 07 '23 22:02 mkorbel1