mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fix: missing thread name when spawning (#31656)
* Add missing thread name when spawning * Update namings
This commit is contained in:
parent
78fe461ff2
commit
b1debf2068
3 changed files with 36 additions and 28 deletions
|
@ -49,6 +49,7 @@ impl HangMonitorRegister {
|
|||
let (tether, tether_port) = unbounded();
|
||||
|
||||
let _ = thread::Builder::new()
|
||||
.name("BackgroundHangMonitor".to_owned())
|
||||
.spawn(move || {
|
||||
let mut monitor = BackgroundHangMonitorWorker::new(
|
||||
constellation_chan,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue