mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-19 05:21:30 +08:00
bugfix: clear cache views in onDestroy. #624
This commit is contained in:
@@ -934,6 +934,13 @@ public abstract class QMUIFragment extends Fragment implements QMUIFragmentLazyL
|
||||
mSwipeBackgroundView.unBind();
|
||||
mSwipeBackgroundView = null;
|
||||
}
|
||||
|
||||
// help gc, sometimes user may hold fragment instance in somewhere,
|
||||
// then these objects can not be released in time.
|
||||
mCacheSwipeBackLayout = null;
|
||||
mCacheRootView = null;
|
||||
mDelayRenderRunnableList = null;
|
||||
mCheckPostResumeRunnable = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user