Skip to content

Commit

Permalink
Fix triple graph evaluation on Windows by removing hash-based Executi…
Browse files Browse the repository at this point in the history
…onRequest dedupe
  • Loading branch information
Keavon committed Jan 28, 2024
1 parent 99c199a commit a7bf6e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions editor/src/node_graph_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ impl NodeRuntime {
// TODO: Currently we still render the document after we submit the node graph execution request.
// This should be avoided in the future.
requests.reverse();
requests.dedup_by_key(|x| match x {
NodeRuntimeMessage::ExecutionRequest(x) => Some(x.graph.current_hash()),
_ => None,
});
requests.dedup_by(|a, b| matches!(a, NodeRuntimeMessage::ExecutionRequest(_)) && matches!(b, NodeRuntimeMessage::ExecutionRequest(_)));
requests.reverse();
for request in requests {
match request {
Expand Down

0 comments on commit a7bf6e2

Please sign in to comment.