Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用DialogFragment 内存泄漏 #304

Closed
wangbang79408854 opened this issue May 15, 2019 · 1 comment
Closed

使用DialogFragment 内存泄漏 #304

wangbang79408854 opened this issue May 15, 2019 · 1 comment

Comments

@wangbang79408854
Copy link

Look at here

  • → Did you conform to the Rules?
  • → Did you read the Wiki Carefully?
  • → Did you search in Google?
  • → Did you search in openned&closed Issues?
  • Receive only bugs and suggestions

Environment

MvpArm版本 2.5.0

canary 版本 1.6.3

Related Code:

  
   cancelPayDialog.show(getSupportFragmentManager(),"cancel")

canary 报内存泄漏

AppManager.sAppManager
AppManager.mCurrentActivity

@JessYanCoding
Copy link
Owner

JessYanCoding commented Sep 16, 2019

https://github.com/JessYanCoding/MVPArms/blob/master/arms/src/main/java/com/jess/arms/integration/ActivityLifecycle.java#L126 CurrentActivity 在 onStop 就会置空,你看看是否是其他问题引起的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants