mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -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 =
|
console =
|
||||||
getTool().getService(InterpreterPanelService.class).createInterpreterPanel(this, false);
|
getTool().getService(InterpreterPanelService.class).createInterpreterPanel(this, false);
|
||||||
welcome();
|
console.addFirstActivationCallback(() -> {
|
||||||
console.addFirstActivationCallback(() -> resetInterpreter());
|
welcome();
|
||||||
|
resetInterpreter();
|
||||||
|
});
|
||||||
createActions();
|
createActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user