Skip to content

Commit

Permalink
Update CCrashHandler.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamhong authored Sep 23, 2024
1 parent 735482e commit c7e4381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Projects/Skylicht/Client/CrashHandler/CCrashHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,13 @@ namespace Skylicht

CCrashHandler::~CCrashHandler()
{
#ifdef USE_CRASHHANDLER
if (g_process != nullptr)
{
SymCleanup(g_process);
g_process = nullptr;
}
#endif
}

void CCrashHandler::init()
Expand Down

0 comments on commit c7e4381

Please sign in to comment.