Fix the number of clients spawned by Launcher (#349)

This commit is contained in:
Toka 2021-11-05 20:31:31 +09:00 committed by GitHub
parent d1700f8775
commit 9f9cab6d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,6 @@ where
//spawn clients
for (id, _) in core_ids.iter().enumerate().take(num_cores) {
if self.cores.iter().any(|&x| x == id) {
for id in 0..num_cores {
let stdio = if self.stdout_file.is_some() {
Stdio::inherit()
} else {
@ -236,7 +235,6 @@ where
}
}
}
}
handles
}