Move the advanced child executor into the live job
This commit is contained in:
1 parent
d98d7b44c1
commit
f6f447dd59
4 files changed
+27
-31
No files matched your search
@@ -350,6 +350,11 @@ impl Mouth {
|
||||
debug_assert!(self.matches_loaded_prefix(&data));
|
||||
self.data = Arc::new(data);
|
||||
}
|
||||
pub(super) fn share_loaded_source(&mut self, current: &Self) {
|
||||
debug_assert!(self.matches_loaded_prefix(¤t.data));
|
||||
self.data = Arc::clone(¤t.data);
|
||||
}
|
||||
|
||||
pub(super) fn payload_bytes(&self) -> usize {
|
||||
self.data.len()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user