aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/switch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake/switch.rs')
-rw-r--r--src/remake/switch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remake/switch.rs b/src/remake/switch.rs
index 7d6611d..4c72b39 100644
--- a/src/remake/switch.rs
+++ b/src/remake/switch.rs
@@ -306,7 +306,7 @@ pub(super) async fn swap_in<H: Host>(
let late_stats = std::sync::Arc::new(std::sync::Mutex::new(ReplayStats::default()));
let late_out = std::sync::Arc::clone(&late_stats);
let old = host
- .switch_epoch(target, true, move |live| {
+ .switch_epoch(target, move |live| {
// Only one worker switches, but be sure the copy still describes the live document.
if !crate::document::changes::missing(live, &copy_heads).is_empty() {
return Err("the document was replaced while preparing the switch".to_owned());