remove colorstatelist's delete callings

This commit is contained in:
houzh 2023-11-29 16:08:23 +08:00
parent c0838f24b7
commit 33bc78d67b

View File

@ -91,10 +91,10 @@ void Switch::init(){
}
Switch::~Switch(){
delete mTextColors;
//delete mTextColors;
delete mThumbDrawable;
delete mTrackTintList;
delete mThumbTintList;
//delete mTrackTintList;
//delete mThumbTintList;
delete mOnLayout;
delete mOffLayout;
mVelocityTracker->recycle();