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:
parent
287bb90770
commit
e892e5418f
1 changed files with 5 additions and 0 deletions
|
@ -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 ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue