diff --git a/crates/punktfunk-host/src/gamestream/mod.rs b/crates/punktfunk-host/src/gamestream/mod.rs index 9dad3e2c..02823d62 100644 --- a/crates/punktfunk-host/src/gamestream/mod.rs +++ b/crates/punktfunk-host/src/gamestream/mod.rs @@ -252,7 +252,13 @@ pub fn serve( ); tokio::try_join!( nvhttp::run(state.clone()), - crate::mgmt::run(state.clone(), mgmt, Some(np.clone()), stats.clone(), gamestream), + crate::mgmt::run( + state.clone(), + mgmt, + Some(np.clone()), + stats.clone(), + gamestream + ), crate::punktfunk1::serve(native_opts, native.mgmt_port, np, stats.clone()), )?; } else { @@ -263,7 +269,13 @@ pub fn serve( (GameStream OFF — pass --gamestream for stock-Moonlight compat)" ); tokio::try_join!( - crate::mgmt::run(state.clone(), mgmt, Some(np.clone()), stats.clone(), gamestream), + crate::mgmt::run( + state.clone(), + mgmt, + Some(np.clone()), + stats.clone(), + gamestream + ), crate::punktfunk1::serve(native_opts, native.mgmt_port, np, stats.clone()), )?; } diff --git a/crates/punktfunk-host/src/mgmt.rs b/crates/punktfunk-host/src/mgmt.rs index 787d621c..a4cec12f 100644 --- a/crates/punktfunk-host/src/mgmt.rs +++ b/crates/punktfunk-host/src/mgmt.rs @@ -1530,11 +1530,13 @@ async fn get_local_summary(State(st): State>) -> Json>) -> StatusCode { // session registry), so signal every live native session to tear down too. let native = crate::session_status::count(); crate::session_status::stop_all(); - tracing::info!(was_streaming, native_sessions = native, "management API: session stopped"); + tracing::info!( + was_streaming, + native_sessions = native, + "management API: session stopped" + ); StatusCode::NO_CONTENT }