File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -142,11 +142,11 @@ class WorkerDispatcher {
142
142
var fullBuffer = message as Uint8List ;
143
143
144
144
// The first byte of messages from workers indicates whether the entire
145
- // compilation is finished (1) or if it encountered an error (2).
146
- // Sending this as part of the message buffer rather than a separate
147
- // message avoids a race condition where the host might send a new
148
- // compilation request with the same ID as one that just finished before
149
- // the [WorkerDispatcher] receives word that the worker with that ID is
145
+ // compilation is finished (1) or if it encountered an error (2). Sending
146
+ // this as part of the message buffer rather than a separate message
147
+ // avoids a race condition where the host might send a new compilation
148
+ // request with the same ID as one that just finished before the
149
+ // [WorkerDispatcher] receives word that the worker with that ID is
150
150
// done. See sass/dart-sass#2004.
151
151
var category = fullBuffer[0 ];
152
152
var packet = Uint8List .sublistView (fullBuffer, 2 );
You can’t perform that action at this time.
0 commit comments