Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(editor): stop prefetch after preview shutdown

Richie McIlroy800c74f50bb1
diff --git a/crates/editor/src/editor_instance.rs b/crates/editor/src/editor_instance.rs
index 358ecb0bf..7798090c8 100644
--- a/crates/editor/src/editor_instance.rs
+++ b/crates/editor/src/editor_instance.rs
@@ -752,7 +752,7 @@ impl EditorInstance {
}
if rendered
- && !preview_rx.has_changed().unwrap_or(false)
+ && !preview_rx.has_changed().unwrap_or(true)
&& !*self.playback_active_rx.borrow()
&& !self.export_preview_active.load(Ordering::Acquire)
&& !self.export_active.load(Ordering::Acquire)