mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Tests - updated the tool to not fire context changed events if the tool
is in the process of disposing (this causes some less talented plugins to throw exceptions after being disposed)
This commit is contained in:
parent
7f2ebb66af
commit
712d116de6
1 changed files with 8 additions and 0 deletions
|
@ -1476,6 +1476,14 @@ public abstract class PluginTool extends AbstractDockingTool {
|
|||
return winMgr.getGlobalActionContext();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void contextChanged(ComponentProvider provider) {
|
||||
if (isDisposed) {
|
||||
return;
|
||||
}
|
||||
super.contextChanged(provider);
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
// Inner Classes
|
||||
//==================================================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue