mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 20:22:18 +08:00
Fix exception when MyProgramChangesDisplayPlugin is uninstalled.
This commit is contained in:
+4
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user