mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-5898 speed up JythonPlugin startup
Delay printing welcome text until the console is displayed.
This commit is contained in:
@@ -128,8 +128,10 @@ public class JythonPlugin extends ProgramPlugin
|
||||
|
||||
console =
|
||||
getTool().getService(InterpreterPanelService.class).createInterpreterPanel(this, false);
|
||||
welcome();
|
||||
console.addFirstActivationCallback(() -> resetInterpreter());
|
||||
console.addFirstActivationCallback(() -> {
|
||||
welcome();
|
||||
resetInterpreter();
|
||||
});
|
||||
createActions();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user