fermi: set atom value even it doesn't exist
This commit is contained in:
1 parent
d9242c6935
commit
c97f051bbd
1 file changed
+7
@@ -74,6 +74,13 @@ impl AtomRoot {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log::trace!("no atoms found for {:?}", ptr);
|
log::trace!("no atoms found for {:?}", ptr);
|
||||||
|
atoms.insert(
|
||||||
|
ptr,
|
||||||
|
Slot {
|
||||||
|
value: Rc::new(value),
|
||||||
|
subscribers: HashSet::new(),
|
||||||
|
},
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user