Compare commits

...

1 Commits
4079 ... 2907

Author SHA1 Message Date
Greg Johnston
67ccd37336 fix: remove browser-only SendWrapper items during either kind of Suspense (closes #2907) 2024-09-02 07:57:03 -04:00
3 changed files with 9 additions and 3 deletions

View File

@@ -166,7 +166,9 @@ where
self.0.take();
}
async fn resolve(self) -> Self::AsyncOutput {
async fn resolve(mut self) -> Self::AsyncOutput {
// see note on dry_resolve() re: SendWrapper
self.0 = None;
self
}
}

View File

@@ -288,7 +288,9 @@ where
self.cb.take();
}
async fn resolve(self) -> Self::AsyncOutput {
async fn resolve(mut self) -> Self::AsyncOutput {
// see note on dry_resolve() re: SendWrapper
self.cb = None;
self
}
}

View File

@@ -121,7 +121,9 @@ where
self.value.take();
}
async fn resolve(self) -> Self::AsyncOutput {
async fn resolve(mut self) -> Self::AsyncOutput {
// see note on dry_resolve() re: SendWrapper
self.value = None;
self
}
}