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

XUTILS3 是否绑定了生命周期 #720

Open
HeVTion opened this issue Dec 17, 2020 · 1 comment
Open

XUTILS3 是否绑定了生命周期 #720

HeVTion opened this issue Dec 17, 2020 · 1 comment

Comments

@HeVTion
Copy link

HeVTion commented Dec 17, 2020

如题,此时我在activity进行了x.http, 还未拿到回调就返回了,但是请求并没有随之结束,会造成内存溢出,看了demo 没有对绑定生命周期这一块的介绍,请教一下作者

@eschervr-dev
Copy link

x.http会返回一个Cancelable对象,通过这个对象可以对请求进行关闭

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