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.
https://xetown.com/questions/1144200 에서 제보된 문제의 원인이 아닐까 의심되는 부분입니다.
memberController->_clearMemberCache()
를 호출하면 오브젝트 캐시는 비우는데 여기저기 전역변수로 저장해 놓은 캐시는 그대로 두고 있어서, 회원정보를 변경하고 동일한 요청 내에서 프로필 이미지, 서명 등을 불러오려고 하면 오작동할 가능성이 있습니다.회원 캐시를 비우면
memberModel
에서 사용하는 전역변수 캐시도 모두 비우도록 수정해 보았습니다.