Fix subscriptions for read only signals passed as props (#3173)
* add a fuzzing test for reference counted generational boxes * Fix subscriptions for readonlysignal passed as props * Don't subscribe to dropped contexts --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
5186d8dded
commit
45a1147ffd
8 files changed
+519
-191
No files matched your search
@@ -145,7 +145,7 @@ impl<T, S: Storage<T>> GenerationalBox<T, S> {
|
||||
}
|
||||
|
||||
/// Change this box to point to another generational box
|
||||
pub fn point_to(&mut self, other: GenerationalBox<T, S>) -> BorrowResult {
|
||||
pub fn point_to(&self, other: GenerationalBox<T, S>) -> BorrowResult {
|
||||
S::change_reference(self.raw, other.raw)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user