Repository navigation
refactor 테스트 객체 정리 스코프 도입 - #814
Merged
Merged
Conversation
# 문제 - 테스트가 NewObject로 만든 객체를 파괴하지 않아 에디터에서 테스트를 돌리면 객체가 남음 # 정리 스코프 (TestObjectScope.h) - RunTest 첫 줄에 선언하면 종료 시 등록 객체를 역순으로 EndPlay -> Uninitialize -> MarkAsGarbage - FGCObject로 등록 객체를 붙잡아 테스트 도중 GC를 막고, AddToRoot/KeepAlive 배열을 대체 # 테스트 적용 - 19개 파일의 NewObject를 Scope.New로 치환하고 픽스처 생성 함수에 스코프 인자 추가 - 본문의 직접 Uninitialize/Destroy 호출은 스코프가 대신하므로 제거 [SVN-REV]: 464
pyramidmine
requested review from
2009ejsvk,
codeGlutton and
turtlehand
as code owners
September 23, 2026 05:28
codeGlutton
enabled auto-merge
September 23, 2026 05:28
turtlehand
approved these changes
Sep 23, 2026
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.
📌 변경 사항
문제
정리 스코프 (TestObjectScope.h)
테스트 적용
🚀 상세 설명
문제
정리 스코프 (TestObjectScope.h)
테스트 적용