Fix DbgHelpSymbolResolve segfault in destructor if m_symInitialize failed in constructor. (#352)

This commit is contained in:
Ondřej Voves
2025-11-23 17:11:51 +01:00
committed by GitHub
parent 808aa150f8
commit 69e6c9b597

View File

@@ -811,8 +811,11 @@ namespace bx
}
void cleanup()
{
if(NULL != m_symCleanup)
{
m_symCleanup(kCurrentProcess);
}
m_symInitialize = NULL;
m_symCleanup = NULL;