mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
constellation: Wait for canvas thread to shut down before shutting down system font service (#37182)
The canvas thread might need access to the system font service before it shuts down. Ensure that it finishes shutting down before triggering the shutdown of the system font service. This should avoid issues where canvas tries to access fonts right before shutting down. Fixes: #36849. Testing: Since this fixes a flaky crash on shutdown, there isn't a good way to write a test for it. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
5de3b5d166
commit
578c52fe2b
3 changed files with 14 additions and 3 deletions
|
@ -21,5 +21,5 @@ pub enum ConstellationCanvasMsg {
|
|||
sender: Sender<(CanvasId, ImageKey)>,
|
||||
size: Size2D<u64>,
|
||||
},
|
||||
Exit,
|
||||
Exit(Sender<()>),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue