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 23e4d63 commit a8b4228Copy full SHA for a8b4228
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