workspace: Send done once on bind, not for each group
This commit is contained in:
parent
bf0baabb56
commit
c592590053
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue