mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +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
|
@ -55,6 +55,7 @@ servo_config = { path = "../config" }
|
|||
servo_rand = { path = "../rand" }
|
||||
servo_url = { path = "../url" }
|
||||
stylo_traits = { workspace = true }
|
||||
stylo = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
webgpu = { path = "../webgpu" }
|
||||
webgpu_traits = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue