about summary refs log tree commit diff stats
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/yt/tests/watch/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/yt/tests/watch/mod.rs b/crates/yt/tests/watch/mod.rs
index 9c5a203..7d6f264 100644
--- a/crates/yt/tests/watch/mod.rs
+++ b/crates/yt/tests/watch/mod.rs
@@ -1,13 +1,13 @@
 use std::{
-    cell::Cell,
     io::{BufRead, BufReader, Write},
     os::unix::net::UnixStream,
     path::PathBuf,
+    sync::atomic::AtomicU64,
 };
 
 use colors::{Colorize, IntoCanvas};
 use serde_json::json;
-use yt_dlp::{json_cast, json_get, progress_hook::__priv::vm::common::atomic::Radium};
+use yt_dlp::{json_cast, json_get};
 
 use crate::_testenv::TestEnv;
 
@@ -15,7 +15,7 @@ mod focus_switch;
 
 struct MpvControl {
     stream: UnixStream,
-    current_request_id: Cell<u64>,
+    current_request_id: AtomicU64,
     name: &'static str,
 }
 
@@ -48,7 +48,7 @@ impl MpvControl {
         let mut me = Self {
             stream,
             name: env.name,
-            current_request_id: Cell::new(0),
+            current_request_id: AtomicU64::new(0),
         };
 
         // Disable all events.