You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, yeah, that's pretty silly. Once should just use a static counter or something to generate unique storage keys. Or I guess a Box<usize> if we wanted to keep using addresses for some reason.
Here's a test that illustrates the bug:
The issue is that we use the address of the
Once
to compute a storage key, which changes when theOnce
is moved.shuttle/src/sync/once.rs
Lines 166 to 170 in 2ac1fae
The text was updated successfully, but these errors were encountered: