mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Check if viewer is not null.
This commit is contained in:
parent
dbba92a00a
commit
d6a463033a
1 changed files with 5 additions and 0 deletions
|
@ -216,6 +216,11 @@ public class RegistersView extends AbstractDebugEventHandlerView
|
|||
}
|
||||
}
|
||||
|
||||
if ( getViewer() == null )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Object current = getViewer().getInput();
|
||||
if ( current == null && frame == null )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue