Merge remote-tracking branch 'origin/dev747368_GT-2712_MyProgramChangesDisplayPlugin' into Ghidra_9.0.2

This commit is contained in:
ghidravore 2019-04-02 17:58:36 -04:00
commit 21d040f586

View File

@ -242,6 +242,10 @@ public class MyProgramChangesDisplayPlugin extends ProgramPlugin implements Doma
public void dispose() { public void dispose() {
worker.dispose(); worker.dispose();
if (currentProgram != null) {
currentProgram.removeTransactionListener(transactionListener);
currentProgram.removeListener(this);
}
tool.getProject().getProjectData().removeDomainFolderChangeListener(folderListener); tool.getProject().getProjectData().removeDomainFolderChangeListener(folderListener);