mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Disable use of rayon with --layout-threads 1
instead of panicking
This commit is contained in:
parent
aade603025
commit
c895e3d236
6 changed files with 56 additions and 36 deletions
|
@ -568,6 +568,7 @@ impl LayoutThread {
|
|||
snapshot_map: snapshot_map,
|
||||
},
|
||||
font_cache_thread: Mutex::new(self.font_cache_thread.clone()),
|
||||
use_rayon: STYLE_THREAD_POOL.pool().is_some(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue