[fix] DeadInstance

This commit is contained in:
kimnuri
2025-12-12 06:24:55 +09:00
parent edb6988bc6
commit 4da3f59f71
2 changed files with 2 additions and 2 deletions
@@ -300,6 +300,7 @@ void CInfoInstance::Release_Information()
DestroyInstance();
SAFE_RELEASE(m_pMapInfo);
SAFE_RELEASE(m_pPlayerInfo);
SAFE_RELEASE(m_pMonsterInfo);
+1 -2
View File
@@ -145,8 +145,7 @@ constexpr unsigned int g_iMaxShadowHeight = 9216;
unsigned int iRefCnt = {}; \
if(nullptr != s_pInstance) { \
iRefCnt = s_pInstance->Release(); \
if(0 == iRefCnt) \
s_pInstance = nullptr; \
s_pInstance = nullptr; \
} \
return iRefCnt; \
}