sync: fix racy UnsafeCell
access on a closed oneshot
#4226
Merged
UnsafeCell
access on a closed oneshot
#4226