Skip to content

Commit

Permalink
delete and initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 committed Jan 27, 2025
1 parent 5341b01 commit 0908174
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/debug/CrashHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,10 @@ CrashHandler::CrashHandler(CrashHandlerCallback callback) {

CrashHandler::~CrashHandler() {
SPDLOG_TRACE("destruct crash handler");
delete[] mOutBuffer;
}

void CrashHandler::RegisterCallback(CrashHandlerCallback callback) {
mCallback = callback;
}
} // namespace Ship
} // namespace Ship

0 comments on commit 0908174

Please sign in to comment.