mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
unregister components while exiting
This commit is contained in:
parent
c9229f3f99
commit
5600a1dca1
5 changed files with 44 additions and 0 deletions
|
@ -926,6 +926,7 @@ impl LayoutThread {
|
|||
self.root_flow.borrow_mut().take();
|
||||
// Drop the rayon threadpool if present.
|
||||
let _ = self.parallel_traversal.take();
|
||||
self.background_hang_monitor.unregister();
|
||||
}
|
||||
|
||||
fn handle_add_stylesheet(&self, stylesheet: &Stylesheet, guard: &SharedRwLockReadGuard) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue