mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[205529] Traditional memory rendering should archive cache for change history on Suspend, not Resume
This commit is contained in:
parent
0e65733fdb
commit
d9e5b657eb
1 changed files with 11 additions and 10 deletions
|
@ -490,6 +490,7 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
|||
{
|
||||
public void run()
|
||||
{
|
||||
archiveDeltas();
|
||||
refresh();
|
||||
}
|
||||
});
|
||||
|
@ -504,16 +505,16 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
|||
}
|
||||
});
|
||||
}
|
||||
else if(kind == DebugEvent.RESUME)
|
||||
{
|
||||
Display.getDefault().asyncExec(new Runnable()
|
||||
{
|
||||
public void run()
|
||||
{
|
||||
archiveDeltas();
|
||||
}
|
||||
});
|
||||
}
|
||||
// else if(kind == DebugEvent.RESUME)
|
||||
// {
|
||||
// Display.getDefault().asyncExec(new Runnable()
|
||||
// {
|
||||
// public void run()
|
||||
// {
|
||||
// //archiveDeltas();
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue