为什么self.touchEnabled = YES;后dealloc就不会被调用了???

多说也没用直接上代码,init中只要加上self.touchEnabled = YES;在remove的时候dealloc就不会给调用到了。而去掉self.touchEnabled = YES,dealloc就可以调用到了。这是为什么呢?有没有遇到过的?

补充:MainLayer是cclayer

@implementation MainLayer

-(id) init

{

if( ( self=super init] ))

{

self.touchEnabled = YES;

}

return self;

}

- (void) dealloc

{

super dealloc];

}