mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Minor refactor for tool closing bug in extension apps
This commit is contained in:
parent
a63b39d14f
commit
24532a377d
1 changed files with 42 additions and 41 deletions
|
@ -277,7 +277,10 @@ public abstract class StandAloneApplication implements GenericStandAloneApplicat
|
|||
|
||||
@Override
|
||||
public ToolServices getToolServices() {
|
||||
return new ToolServicesAdapter() {
|
||||
return new StandAloneToolServices();
|
||||
}
|
||||
|
||||
protected static class StandAloneToolServices extends ToolServicesAdapter {
|
||||
|
||||
@Override
|
||||
public void closeTool(PluginTool t) {
|
||||
|
@ -315,7 +318,5 @@ public abstract class StandAloneApplication implements GenericStandAloneApplicat
|
|||
}
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue