mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
If you right click on a shell in the Remote Systems view and select Remove Shell, there is a null pointer exception in the log. This fix gets rid of the null pointer exception.
This commit is contained in:
parent
efc91cccaa
commit
1ad79089c0
1 changed files with 5 additions and 3 deletions
|
@ -75,10 +75,12 @@ public class OutputRefreshJob extends UIJob
|
|||
try
|
||||
{
|
||||
SystemRegistry registry = RSEUIPlugin.getTheSystemRegistry();
|
||||
if ((_outputs != null) && (_outputs[0] != null))
|
||||
if (_outputs != null)
|
||||
{
|
||||
registry.fireEvent(
|
||||
new SystemResourceChangeEvent(_outputs, ISystemResourceChangeEvents.EVENT_REFRESH, _command));
|
||||
if ((_outputs.length > 0) && (_outputs[0] != null)) {
|
||||
registry.fireEvent(
|
||||
new SystemResourceChangeEvent(_outputs, ISystemResourceChangeEvents.EVENT_REFRESH, _command));
|
||||
}
|
||||
|
||||
if (_cwdChanged)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue