Merge remote-tracking branch

'origin/GP-1074_ryanmkurtz_PR-2742_marcushall42_null-script' into patch
(Closes #2742)
This commit is contained in:
ghidra1 2021-06-25 14:34:05 -04:00
commit 884303c23d

View File

@ -612,7 +612,9 @@ public class GhidraScriptComponentProvider extends ComponentProviderAdapter {
void runScript(ResourceFile scriptFile, TaskListener listener) {
lastRunScript = scriptFile;
GhidraScript script = doGetScriptInstance(scriptFile);
doRunScript(script, listener);
if (script != null) {
doRunScript(script, listener);
}
}
private GhidraScript doGetScriptInstance(ResourceFile scriptFile) {