1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Check if viewer is not null before using it.

This commit is contained in:
Mikhail Khodjaiants 2003-02-11 19:10:41 +00:00
parent 287bb90770
commit e892e5418f

View file

@ -178,6 +178,11 @@ public class SignalsView extends AbstractDebugEventHandlerView
} }
} }
if ( getViewer() == null )
{
return;
}
Object current = getViewer().getInput(); Object current = getViewer().getInput();
if ( current != null && current.equals( sm ) ) if ( current != null && current.equals( sm ) )
{ {