git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128071
91177308-0d34-0410-b5e6-
96231b3b80d8
protected:
CrashRecoveryContext *context;
CrashRecoveryContextCleanup(CrashRecoveryContext *context)
- : context(context) {}
+ : context(context), cleanupFired(false) {}
public:
bool cleanupFired;
- CrashRecoveryContextCleanup() : cleanupFired(false) {}
virtual ~CrashRecoveryContextCleanup();
virtual void recoverResources() = 0;
CrashRecoveryContextCleanup *tmp = i;
i = tmp->next;
tmp->cleanupFired = true;
- //tmp->recoverResources();
+ tmp->recoverResources();
delete tmp;
}
tlIsRecoveringFromCrash.erase();