mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 23:08:11 +08:00
Add the core execution types needed for the async refactor (#4390)
* Add the core execution types, the borrowed context, and the seeded u64 fx hasher * Fix frame table key aliasing and arena handle offset truncation * Drop arena entries in reverse allocation order and require Send + Sync payloads * Draw arena generations from a global counter so foreign handles never upgrade * Forward serialize through node wrappers and free abandoned frame table reservations * Make arena generation exhaustion fallible with an unsafe counter rewind * Guard the shared generation counter in tests and reject oversized batch ranges * Park the arena during drop glue, guard filled batches, and normalize deserialized sources * Make the sources fields private and normalize them on every mutation * Remove the unused CtxSnapshot scope reconstruction
This commit is contained in:
@@ -2406,7 +2406,7 @@ fn migrate_node(node_id: &NodeId, node: &DocumentNode, network_path: &[NodeId],
|
||||
&& let Some(reference) = document.network_interface.reference(node_id, network_path).clone()
|
||||
&& let Some(node_definition) = resolve_document_node_type(&reference)
|
||||
{
|
||||
let context_features = node_definition.node_template.document_node.context_features;
|
||||
let context_features = node_definition.node_template.document_node.context_features.clone();
|
||||
document.network_interface.set_context_features(node_id, network_path, context_features);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user