modify fix Switch::mPositionAnimator's memleak

This commit is contained in:
侯歌 2024-04-15 11:19:27 +08:00
parent 84169bcae3
commit 435382e6b6

View File

@ -95,6 +95,7 @@ Switch::~Switch(){
delete mThumbDrawable;
//delete mTrackTintList;
//delete mThumbTintList;
delete mPositionAnimator;
delete mOnLayout;
delete mOffLayout;
mVelocityTracker->recycle();