mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Properly initialize all fields in CrashReporterCleanupContext. This caused the buildbot failure earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128071 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c943a9aa4f
commit
3311d951e2
@ -101,11 +101,10 @@ class CrashRecoveryContextCleanup {
|
||||
protected:
|
||||
CrashRecoveryContext *context;
|
||||
CrashRecoveryContextCleanup(CrashRecoveryContext *context)
|
||||
: context(context) {}
|
||||
: context(context), cleanupFired(false) {}
|
||||
public:
|
||||
bool cleanupFired;
|
||||
|
||||
CrashRecoveryContextCleanup() : cleanupFired(false) {}
|
||||
virtual ~CrashRecoveryContextCleanup();
|
||||
virtual void recoverResources() = 0;
|
||||
|
||||
|
@ -70,7 +70,7 @@ CrashRecoveryContext::~CrashRecoveryContext() {
|
||||
CrashRecoveryContextCleanup *tmp = i;
|
||||
i = tmp->next;
|
||||
tmp->cleanupFired = true;
|
||||
//tmp->recoverResources();
|
||||
tmp->recoverResources();
|
||||
delete tmp;
|
||||
}
|
||||
tlIsRecoveringFromCrash.erase();
|
||||
|
Loading…
Reference in New Issue
Block a user