From f07be605b70d00ab7c4dea5d724eb4fdf0789b6e Mon Sep 17 00:00:00 2001 From: RTSDA Date: Sun, 20 Apr 2025 10:09:59 -0400 Subject: [PATCH] Fix ownership issue by cloning output_path --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c661854..a359815 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ async fn main() -> Result<()> { println!("Watching directory: {}", watch_path.display()); println!("Output directory: {}", output_path.display()); - let archiver = LivestreamArchiver::new(&output_path); + let archiver = LivestreamArchiver::new(&output_path.clone()); let processed_files = Arc::new(Mutex::new(HashSet::new())); // Process existing files first