mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
use the destroyExpression()
This commit is contained in:
parent
452f725509
commit
7c94724c7f
2 changed files with 2 additions and 2 deletions
|
@ -1807,7 +1807,7 @@ public class CDebugTarget extends CDebugElement
|
||||||
ICDIExpressionManager em = getCDISession().getExpressionManager();
|
ICDIExpressionManager em = getCDISession().getExpressionManager();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
em.removeExpression( ((CExpression)expression).getCDIExpression() );
|
em.destroyExpression( ((CExpression)expression).getCDIExpression() );
|
||||||
}
|
}
|
||||||
catch( CDIException e )
|
catch( CDIException e )
|
||||||
{
|
{
|
||||||
|
|
|
@ -371,7 +371,7 @@ public class CFormattedMemoryBlock extends CDebugElement
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
((CDebugTarget)getDebugTarget()).getCDISession().getExpressionManager().removeExpression( fAddressExpression );
|
((CDebugTarget)getDebugTarget()).getCDISession().getExpressionManager().destroyExpression( fAddressExpression );
|
||||||
}
|
}
|
||||||
catch( CDIException e )
|
catch( CDIException e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue