[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
+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; \
}