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
@@ -38,7 +38,7 @@ fn move_reference_in_place() {
|
||||
let original_owner = S::owner();
|
||||
// insert data into the store
|
||||
let original = original_owner.insert_rc(data1.clone());
|
||||
let mut reference = original_owner.insert_reference(original).unwrap();
|
||||
let reference = original_owner.insert_reference(original).unwrap();
|
||||
// The reference should point to the original value
|
||||
assert_eq!(&*reference.read(), &data1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user