This commit is contained in:
Carl Lerche 2023-06-12 12:07:55 -07:00
parent f71c369203
commit 0cfaaea2b9
No known key found for this signature in database
GPG Key ID: FC5ADF3A4B2E5977

View File

@ -295,7 +295,7 @@ pub(super) fn create(
idle,
owned: OwnedTasks::new(),
synced: Mutex::new(Synced {
assigned_cores: Vec::with_capacity(num_cores),
assigned_cores: (0..num_workers).map(|_| None).collect(),
shutdown_cores: Vec::with_capacity(num_cores),
idle: idle_synced,
inject: inject_synced,