mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -323,7 +323,11 @@ impl WorkletThreadPool {
|
|||
}
|
||||
|
||||
pub(crate) fn exit_worklet(&self, worklet_id: WorkletId) {
|
||||
for sender in &[&self.control_sender_0, &self.control_sender_1, &self.control_sender_2] {
|
||||
for sender in &[
|
||||
&self.control_sender_0,
|
||||
&self.control_sender_1,
|
||||
&self.control_sender_2,
|
||||
] {
|
||||
let _ = sender.send(WorkletControl::ExitWorklet(worklet_id));
|
||||
}
|
||||
self.wake_threads();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue