mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bugzilla – Bug 204024
This commit is contained in:
parent
b66a1834ea
commit
6a8b708bbe
1 changed files with 4 additions and 0 deletions
|
@ -467,6 +467,9 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
|||
|
||||
public void handleDebugEvents(DebugEvent[] events)
|
||||
{
|
||||
if(this.isDisposed())
|
||||
return;
|
||||
|
||||
for(int i = 0; i < events.length; i++)
|
||||
{
|
||||
if(events[0].getSource() instanceof IDebugElement)
|
||||
|
@ -979,6 +982,7 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
|||
|
||||
public void dispose()
|
||||
{
|
||||
DebugPlugin.getDefault().removeDebugEventListener(this);
|
||||
if(fViewportCache != null)
|
||||
{
|
||||
fViewportCache.dispose();
|
||||
|
|
Loading…
Add table
Reference in a new issue