Fixed SimulationView spamming exceptions in some situations:
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 3 Oct 2019 11:23:20 +0000 (13:23 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 3 Oct 2019 11:23:20 +0000 (13:23 +0200)
commit1cb397369db5176ac9f12725c65321bcf92a70ee
treef7277490bc217cf62bb1f137b72ce12beb2bebb9
parentb8840982674bd3ef4b42913c91abe8badc9a8bd8
Fixed SimulationView spamming exceptions in some situations:

When closing the SimulationView while it is displaying a machine, the
content provider still had its ActiveMicroInstructionChangedListener
registered in this machine, causing updateElement to be called when the
machine does a cycle, causing the log to be spammed with exceptions
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/mi/ActiveInstructionPreviewContentProvider.java
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/views/SimulationView.java