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

block移除 #48

Open
haidi5476381 opened this issue Dec 4, 2018 · 5 comments
Open

block移除 #48

haidi5476381 opened this issue Dec 4, 2018 · 5 comments

Comments

@haidi5476381
Copy link

XMRequest *request = [XMRequest request];
XM_SAFE_BLOCK(configBlock, request);

经过XM_SAFE_BLOCK处理以后,request以前设置的参数被清除。

@lztbwlkj
Copy link

lztbwlkj commented Dec 7, 2018

这个库是不是不更新了 ?

@haidi5476381
Copy link
Author

很久没有看到他们更新了

@kangzubin
Copy link
Owner

抱歉,最近这一年一直都比较忙,近期我会更新这个库,把 issues 中的问题都解决一下。

@kangzubin
Copy link
Owner

@haidi5476381 你可以看一下内部逻辑或者说明文档,XMRequest 使用时,哪些参数会重新设置。

@haidi5476381
Copy link
Author

我看了一下这个 XM_SAFE_BLOCK块的实现,这个block块,它里面的对象都重新释放了。

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

3 participants