fix: make inner state send as it's protected critical section
This commit is contained in:
parent
db0f4a0b91
commit
1989c229f9
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue