mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 16:56:04 +02:00
Fix possible NPE at termination time for bug 305775
This commit is contained in:
parent
d42788838e
commit
90f7d1a702
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ public abstract class AbstractThreadVMNode extends AbstractDMVMNode
|
|||
|
||||
@Override
|
||||
public boolean isEnabled(IStatus status, java.util.Map<String,Object> properties) {
|
||||
return !((Boolean)properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED)).booleanValue();
|
||||
return Boolean.FALSE.equals(properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED));
|
||||
};
|
||||
},
|
||||
new LabelImage(DebugUITools.getImageDescriptor(IDebugUIConstants.IMG_OBJS_THREAD_SUSPENDED)),
|
||||
|
|
Loading…
Add table
Reference in a new issue