mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-12 12:05:08 +08:00
fix imageview::~imageview
This commit is contained in:
parent
c6d998ccaf
commit
9a2809a0aa
@ -70,11 +70,8 @@ void ImageView::initImageView(){
|
||||
}
|
||||
|
||||
ImageView::~ImageView() {
|
||||
if(mDrawable!=mRecycleableBitmapDrawable){
|
||||
unscheduleDrawable(*mRecycleableBitmapDrawable);
|
||||
if(mDrawable!=mRecycleableBitmapDrawable)
|
||||
delete mRecycleableBitmapDrawable;
|
||||
}
|
||||
if(mDrawable)unscheduleDrawable(*mDrawable);
|
||||
delete mDrawable;
|
||||
//delete mDrawableTintList;//cant be destroied.
|
||||
delete mColorFilter;
|
||||
|
Loading…
Reference in New Issue
Block a user