Skip to content

Commit e1156a2

Browse files
committed
fix mp4a format detection and shutdown hanging
1 parent b88c117 commit e1156a2

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

platuned/server/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ path = "src/lib.rs"
99

1010
[dependencies]
1111
axum = { version = "0.8.1", optional = true }
12-
clap = { version = "4.5.29", features = ["unstable-styles"] }
12+
clap = { version = "4.5.32", features = ["unstable-styles"] }
1313
console-subscriber = { version = "0.4.1", features = [
1414
"parking_lot",
1515
], optional = true }
@@ -31,18 +31,18 @@ tipsy = "0.3.2"
3131
prost = "0.13.5"
3232
prost-types = "0.13.5"
3333
rcgen = { version = "0.13.2", features = ["x509-parser", "pem"] }
34-
time = "0.3.37"
35-
tokio = { version = "1.43.0", features = ["rt-multi-thread", "macros"] }
34+
time = "0.3.40"
35+
tokio = { version = "1.44.1", features = ["rt-multi-thread", "macros"] }
3636
tokio-stream = { version = "0.1.17", features = ["net"] }
3737
tonic = { version = "0.12.3", features = ["tls"] }
3838
tonic-health = "0.12.3"
3939
tonic-reflection = "0.12.3"
4040
tower = { version = "0.5.2", optional = true }
4141
tower-http = { version = "0.6.2", features = ["fs"], optional = true }
4242
tracing = "0.1.41"
43-
uuid = { version = "1.13.1", features = ["v4"] }
43+
uuid = { version = "1.16.0", features = ["v4"] }
4444
vergen-gix = { version = "1.0.6" }
45-
console = "0.15.10"
45+
console = "0.15.11"
4646
which = { version = "7.0.2", features = ["tracing"] }
4747

4848
[features]

platuned/server/src/server.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ pub async fn run_all(shutdown_rx: BroadcastEventStore<Signal>) -> Result<()> {
122122

123123
#[cfg(feature = "player")]
124124
{
125-
let player_inner =
126-
Arc::try_unwrap(services.player).expect("All servers should've been dropped");
127-
player_inner.join().await?;
125+
let player = Arc::try_unwrap(services.player).expect("servers not dropped");
126+
player.join().await?;
128127
}
129128

130129
Ok(())

0 commit comments

Comments
 (0)