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

chore: MockURLProtocol requestHandler의 동기화 문제 해결 #352

Open
1 task
loinsir opened this issue Jan 22, 2024 · 0 comments
Open
1 task

chore: MockURLProtocol requestHandler의 동기화 문제 해결 #352

loinsir opened this issue Jan 22, 2024 · 0 comments

Comments

@loinsir
Copy link
Collaborator

loinsir commented Jan 22, 2024

💡 issue

MockURLProtocol의 requestHandler가 static var로 선언된 shared mutable state값 이기 때문에 동기화 문제가 발생합니다.
lock을 이용해 이를 수정하고, Swift Concurrency에서 async let을 이용한 병렬 로드가 가능하도록 하겠습니다.

📝 todo

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

No branches or pull requests

1 participant