강의

멘토링

커뮤니티

Inflearn Community Q&A

dokeng78667's profile image
dokeng78667

asked

[MMORPG Game Development with C++ and Unreal Series] Part 4: Game Server

Server Service

IocpEvent는 메모리 해제될 일이 없나요?

Written on

·

338

0

안녕하세요

IocpObject가 지워지지 않게 Ref Count 처리해주는 부분을 보고, IocpEvent는 지워질 일이 없는지 궁금합니다. 어차피 Session의 멤버로 들고 있으니 Session이 지워지지 않는다면 IocpEvent는 절대 지워질 일이 없는걸까요?

네트워크MMORPGwindows-server

Answer 1

0

Rookiss님의 프로필 이미지
Rookiss
Instructor

네 그렇습니다.
Session이 삭제되고 + 네트워크 이벤트 처리까지 종료되어
RefCount가 0이 되면 소멸되겠죠.

dokeng78667's profile image
dokeng78667

asked

Ask a question