[cocos2d-2.1beta3-x-2.1.0] TestCpp->ExtensionsTest->CocosBuilderTest, the cocosbuilder Layer's destructor never get executed!

[cocos2d-2.1beta3-x-2.1.0] TestCpp~~>ExtentionsTest~~>CocosBuilderTest, the cocosbuilder Layer’s destructor never get executed!
when we call replacescene(), the destructor function(such as ’ButtonTestLayer::ButtonTestLayer‘under\ the\ ExtensionsTest)\ of\ the\ previous\ layer\ never\ get\ executed,\
which\ could\ get\ memory\ leaks.\
I’m\ about\ to\ migrant\ my\ project\ from\ [cocos2d-2.0-x-2.0.3]\ to\ [cocos2d-2.1beta3-x-2.1.0],\ and\ I\ found\ this\ issue.
I\ also\ debug\ the\ code,\ found\ that\ there\ maybe\ some\ differences\ with\ ’m_bTouchEnabled’\ between\ and\ .
///\ Callbacks
void\ CCLayer::onEnter
{
\ CCDirector*\ pDirector\ =\ CCDirector::sharedDirector;
\ if\ /////////////////\ in\ cocos2d-2.0-x-2.0.3,\ it’s\ false.\ but\ in\ cocos2d-2.1beta3-x-2.1.0\ it’s\ true.\
\ {
\ this->registerWithTouchDispatcher;\ //////*\ the\ retain\ count\ +1\ in\ cocos2d-2.1beta3-x-2.1.0;*
\ }
……
}
Hope\ this\ would\ help\ fixing\ the\ problem
Thanks~