We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4891d57 commit c46185bCopy full SHA for c46185b
library/std/src/sys/sgx/abi/tls/mod.rs
@@ -111,6 +111,7 @@ impl Tls {
111
rtabort!("TLS limit exceeded")
112
};
113
TLS_DESTRUCTOR[index].store(dtor.map_or(0, |f| f as usize), Ordering::Relaxed);
114
+ unsafe { Self::current() }.data[index].set(ptr::null_mut());
115
Key::from_index(index)
116
}
117
0 commit comments