mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
layout: Shut down style thread-pool when exiting a content process / shutting down the Constellation (#38924)
To ensure a clean-shutdown of Servo, we need to shutdown our internal threading before deinit. This shuts down the style thread pool either using the constellation(in single-process mode), or when a content process exits. Testing: Manual testing by opening a window, opening and closing multiple tabs, and closing the window, with a sleep added before deinit and a sample taken to ensure the loose threads previously noticed are gone. Fixes: part of https://github.com/servo/servo/issues/30849 --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
parent
7339e2b421
commit
08b9eb818c
4 changed files with 10 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1514,6 +1514,7 @@ dependencies = [
|
|||
"servo_config",
|
||||
"servo_rand",
|
||||
"servo_url",
|
||||
"stylo",
|
||||
"stylo_traits",
|
||||
"tracing",
|
||||
"webgpu",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue