Merged
Conversation
- 로그아웃 성공 시 AppStorage의 sessionId, socialType, userId 정리 - 기존에는 Keychain만 정리되고 AppStorage는 남아있던 문제 해결 - 회원탈퇴와 동일한 수준의 세션 정리 적용 - 로그인 풀리는 현상 방지 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
Peter1119
approved these changes
Dec 16, 2025
Comment on lines
+228
to
+259
| extension TransparentImageCaching { | ||
| /// 투명한 이미지 캐싱을 수동으로 활성화합니다. | ||
| /// 일반적으로는 ImageCacheService 사용 시 자동으로 활성화됩니다. | ||
| public static func activate() { | ||
| registrationLock.lock() | ||
| defer { registrationLock.unlock() } | ||
|
|
||
| guard !isRegistered else { return } | ||
| URLProtocol.registerClass(TransparentImageCaching.self) | ||
| isRegistered = true | ||
| } | ||
|
|
||
| /// 투명한 이미지 캐싱을 비활성화합니다. | ||
| public static func deactivate() { | ||
| registrationLock.lock() | ||
| defer { registrationLock.unlock() } | ||
|
|
||
| guard isRegistered else { return } | ||
| URLProtocol.unregisterClass(TransparentImageCaching.self) | ||
| isRegistered = false | ||
| } | ||
|
|
||
| /// 캐시를 완전히 지웁니다. | ||
| public static func clearCache() async { | ||
| await cacheManager.clearCache() | ||
| } | ||
|
|
||
| /// 현재 처리 중인 요청 수를 반환합니다. (디버깅용) | ||
| public static func processingRequestCount() async -> Int { | ||
| await cacheManager.processingRequestsCount() | ||
| } | ||
| } |
Contributor
There was a problem hiding this comment.
actor와 nslock은 같이 쓰는건 권장사항이 아닌데 같이 써야하는 이유가 있었나요 ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈
✨ 작업 내용
📝 참고 사항
kSecAttrAccessibleAfterFirstUnlock→kSecAttrAccessibleWhenUnlockedThisDeviceOnly로 변경하여 토큰 안정성 개선Motivation 🥳 (코드를 추가/변경하게 된 이유)
Key Changes 🔥 (주요 구현/변경 사항)
1. ImageCacheService 구현