mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 08:44:55 +08:00
Tests - fix for timing issue; fixed potential deadlock in TaskDialog
This commit is contained in:
@@ -429,13 +429,15 @@ public class ImporterUtilities {
|
||||
|
||||
if (importedObject instanceof Program) {
|
||||
Program program = (Program) importedObject;
|
||||
|
||||
setProgramProperties(program, fsrl, monitor);
|
||||
ProgramMappingService.createAssociation(fsrl, program);
|
||||
|
||||
if (programManager != null) {
|
||||
int openState =
|
||||
firstProgram ? ProgramManager.OPEN_CURRENT : ProgramManager.OPEN_VISIBLE;
|
||||
programManager.openProgram(program, openState);
|
||||
}
|
||||
setProgramProperties(program, fsrl, monitor);
|
||||
ProgramMappingService.createAssociation(fsrl, program);
|
||||
importedFilesSet.add(program.getDomainFile());
|
||||
}
|
||||
if (firstProgram) {
|
||||
|
||||
Reference in New Issue
Block a user