File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.63.5
2
+
3
+ ### Embedded Sass
4
+
5
+ * Fix a deadlock when running at high concurrency on 32-bit systems.
6
+
1
7
## 1.63.4
2
8
3
9
### JavaScript API
Original file line number Diff line number Diff line change 3
3
// https://opensource.org/licenses/MIT.
4
4
5
5
import 'dart:async' ;
6
+ import 'dart:ffi' ;
6
7
import 'dart:io' ;
7
8
import 'dart:isolate' ;
8
9
import 'dart:typed_data' ;
@@ -51,9 +52,10 @@ class IsolateDispatcher {
51
52
/// A pool controlling how many isolates (and thus concurrent compilations)
52
53
/// may be live at once.
53
54
///
54
- /// More than 15 concurrent `waitFor()` calls seems to deadlock the Dart VM,
55
- /// even across isolates. See sass/dart-sass#1959.
56
- final _isolatePool = Pool (15 );
55
+ /// More than MaxMutatorThreadCount isolates in the same isolate group
56
+ /// can deadlock the Dart VM.
57
+ /// See https://github.com/sass/dart-sass/pull/2019
58
+ final _isolatePool = Pool (sizeOf <IntPtr >() <= 4 ? 7 : 15 );
57
59
58
60
/// Whether the underlying channel has closed and the dispatcher is shutting
59
61
/// down.
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.63.4
2
+ version : 1.63.5-dev
3
3
description : A Sass implementation in Dart.
4
4
homepage : https://github.com/sass/dart-sass
5
5
You can’t perform that action at this time.
0 commit comments