mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
CrashRecovery: Use ThreadLocal::erase() instead of set(0).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109752 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
115a932eb9
commit
a685582048
@ -31,7 +31,7 @@ public:
|
||||
CurrentContext.set(this);
|
||||
}
|
||||
~CrashRecoveryContextImpl() {
|
||||
CurrentContext.set(0);
|
||||
CurrentContext.erase();
|
||||
}
|
||||
|
||||
void HandleCrash() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user