Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Disallow token change via SetParent after a command has been deserialized#3389

Merged
jonsequitur merged 2 commits into
dotnet:mainfrom
jonsequitur:disallow-token-change
Jan 3, 2024
Merged

Disallow token change via SetParent after a command has been deserialized#3389
jonsequitur merged 2 commits into
dotnet:mainfrom
jonsequitur:disallow-token-change

Conversation

@jonsequitur

Copy link
Copy Markdown
Contributor

This PR fixes an issue where a command, after deserialization, can have its parent set again, overwriting the original token and breaking scheduler correlation.

@jonsequitur
jonsequitur force-pushed the disallow-token-change branch from 1c4ca0c to 99077da Compare January 2, 2024 22:25
@jonsequitur
jonsequitur force-pushed the disallow-token-change branch from 99077da to 056cf28 Compare January 2, 2024 22:38
@jonsequitur
jonsequitur marked this pull request as ready for review January 2, 2024 23:35
@jonsequitur
jonsequitur enabled auto-merge January 2, 2024 23:36
@colombod

colombod commented Jan 3, 2024

Copy link
Copy Markdown
Member

Should we have changes in typescript too?

@colombod

colombod commented Jan 3, 2024

Copy link
Copy Markdown
Member

#3396 will align js to this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants