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

HttpClient释放response指针异常 #2060

Closed
qq461787436 opened this issue Jul 30, 2024 · 0 comments · Fixed by #2064
Closed

HttpClient释放response指针异常 #2060

qq461787436 opened this issue Jul 30, 2024 · 0 comments · Fixed by #2064
Labels
bug Something isn't working
Milestone

Comments

@qq461787436
Copy link

qq461787436 commented Jul 30, 2024

  • axmol version:2.1.4
  • devices test on:mac os 14.5
  • developing environments
    • Xcode version: 15.4
      Steps to Reproduce:
      1,setDispatchOnWorkThread设置true
      2,开启计时器每帧发送http请求
      3,response->release();报EXC_BAD_ACCESS
      猜测是release没有线程安全,当启用_dispatchOnWorkThread时,release不支持多线程释放
      WX20240730-163429@2x
      WX20240730-163452@2x
      WX20240730-164335@2x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants