8000 Set id on all OutboundMessage with id field by ntkme · Pull Request #80 · sass/dart-sass-embedded · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Conversation

ntkme
Copy link
Contributor
@ntkme ntkme commented Mar 26, 2022

With multiple fileImportRequest that missing id (defaults to zero) send to host, the host will respond multiple times with id 0, causing Response ID 0 doesn't match any outstanding requests.

This PR add id to all known OutboundMessage types that needs an id field.

Note that this is not going to reproducible on the node host due to that the node host would start a new compiler process each time. But this causes parallel compile requests with FileImporter on the ruby host to crash.

ntkme added a commit to sass-contrib/sass-embedded-host-ruby that referenced this pull request Mar 26, 2022
@nex3 nex3 self-requested a review March 30, 2022 20:45
nex3 added a commit to sass/dart-sass that referenced this pull request Mar 31, 2022
@nex3 nex3 merged commit d0e4e6c into sass:main Mar 31, 2022
@ntkme ntkme deleted the outbound-message-id branch March 31, 2022 00:46
jathak pushed a commit to sass/dart-sass that referenced this pull request Apr 1, 2022
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.

2 participants
0