mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
GT-2841: askDomainFile now correctly throws CancelledException.
This commit is contained in:
parent
a50c6e0843
commit
1ca783531f
@ -2818,6 +2818,11 @@ public abstract class GhidraScript extends FlatProgramAPI {
|
||||
|
||||
Runnable r = () -> dtd.showComponent();
|
||||
SystemUtilities.runSwingNow(r);
|
||||
|
||||
if (dtd.wasCancelled()) {
|
||||
throw new CancelledException();
|
||||
}
|
||||
|
||||
return ref.get();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user