mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3343 Getting dispose to be called on Front-end plugins
This commit is contained in:
parent
adf7b18547
commit
d089d3fb49
18 changed files with 174 additions and 158 deletions
|
@ -64,17 +64,11 @@ public class DummyTool extends PluginTool {
|
|||
name = typeName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void exit() {
|
||||
//do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
if (project != null) {
|
||||
project.getToolServices().closeTool(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -266,7 +260,7 @@ public class DummyTool extends PluginTool {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean canClose(boolean isExiting) {
|
||||
public boolean canClose() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue