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)
|
public void handleDebugEvents(DebugEvent[] events)
|
||||||
{
|
{
|
||||||
|
if(this.isDisposed())
|
||||||
|
return;
|
||||||
|
|
||||||
for(int i = 0; i < events.length; i++)
|
for(int i = 0; i < events.length; i++)
|
||||||
{
|
{
|
||||||
if(events[0].getSource() instanceof IDebugElement)
|
if(events[0].getSource() instanceof IDebugElement)
|
||||||
|
@ -979,6 +982,7 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
||||||
|
|
||||||
public void dispose()
|
public void dispose()
|
||||||
{
|
{
|
||||||
|
DebugPlugin.getDefault().removeDebugEventListener(this);
|
||||||
if(fViewportCache != null)
|
if(fViewportCache != null)
|
||||||
{
|
{
|
||||||
fViewportCache.dispose();
|
fViewportCache.dispose();
|
||||||
|
|
Loading…
Add table
Reference in a new issue