workspace: Send done once on bind, not for each group

This commit is contained in:
Ian Douglas Scott 2023-01-03 14:15:02 -08:00
parent bf0baabb56
commit c592590053

View file

@ -160,8 +160,8 @@ where
let instance = data_init.init(resource, ());
for group in &mut state.groups {
send_group_to_client::<D>(dh, &instance, group);
instance.done();
}
instance.done();
state.instances.push(instance);
}