Synchronize buffers when either the host or a guest reconnects
This commit is contained in:
parent
b5fb8e6b8b
commit
47348542ef
7 changed files with 194 additions and 23 deletions
|
@ -3651,7 +3651,7 @@ mod tests {
|
|||
let state = host_buffer.read(cx).to_proto();
|
||||
let ops = cx
|
||||
.background()
|
||||
.block(host_buffer.read(cx).serialize_ops(cx));
|
||||
.block(host_buffer.read(cx).serialize_ops(None, cx));
|
||||
let mut buffer = Buffer::from_proto(1, state, None).unwrap();
|
||||
buffer
|
||||
.apply_ops(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue