Skip to content

Conversation

@sjorsdonkers
Copy link
Contributor

document was stored both in Window as well as the SessionState.
Since Window is not in the SessionState we can duplicate and no longer need to keep them in sync.

Convenience accessor was not added as we have enough indirection.

pub fn document(self: *SessionState) ?*parser.Document {
    return self.window.document;
}

@karlseguin karlseguin merged commit 1ff422a into main May 19, 2025
9 checks passed
@karlseguin karlseguin deleted the dedup-document branch May 19, 2025 11:07
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants