fix: make inner state send as it's protected critical section
This commit is contained in:
parent
db0f4a0b91
commit
1989c229f9
@ -225,6 +225,8 @@ pub(crate) mod sealed {
|
|||||||
pub waker: WakerRegistration,
|
pub waker: WakerRegistration,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for InnerState {}
|
||||||
|
|
||||||
impl State {
|
impl State {
|
||||||
pub const fn new() -> Self {
|
pub const fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user