Fix exception when MyProgramChangesDisplayPlugin is uninstalled.

This commit is contained in:
dev747368 2019-03-29 17:18:20 -04:00
parent 6f91910a3d
commit 65ed72ab0e

View File

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