cocos2dx-2.2.2 + lua
Every time when I called removeAllChildren() to remove widgets that have been added into a scrollview ,It could not work properly. after removeAllChildren() been called,I could still see some widget that should have been removed shown in the scrollview .
But,If I call removeChildByTag() to remove those widget one by one, It works well.
Should I call any other function ,after I call removeAllChildren?