Skip to content

Commit 8879630

Browse files
committed
Add TODO
1 parent e562bcc commit 8879630

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/thread_local/key

1 file changed

+1
-0
lines changed

library/std/src/sys/thread_local/key/racy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ impl LazyKey {
7979
},
8080
};
8181

82+
// TODO: This must be called for every thread that uses this LazyKey once!
8283
#[cfg(not(target_thread_local))]
8384
if self.dtor.is_some() {
8485
unsafe { register_dtor(self) };

0 commit comments

Comments
 (0)