1. 独立app内存泄漏优化
This commit is contained in:
@@ -131,6 +131,11 @@ public class ShareControl implements IMogoShareManager, IMogoIntentListener,
|
||||
mContext = context;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void releaseContext() {
|
||||
mContext = mContext.getApplicationContext();
|
||||
}
|
||||
|
||||
private void realShowDialog() {
|
||||
if (mShareDialog == null) {
|
||||
Logger.d(TAG, "realShowDialog context : " + mContext);
|
||||
|
||||
@@ -82,7 +82,7 @@ object SeekHelpManager {
|
||||
if(!isSeeking) {
|
||||
isSeeking = true
|
||||
if (this.context == null) {
|
||||
this.context = context
|
||||
this.context = context.applicationContext
|
||||
}
|
||||
aiAssist = AIAssist.getInstance(context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user