Use feature flag for tracing

This commit is contained in:
Maximilian Ammann 2022-04-02 15:47:52 +02:00
parent 703b8a9838
commit 34d7501f64

View File

@ -126,6 +126,8 @@ pub async fn run(
*control_flow = ControlFlow::Exit;
}
}
#[cfg(feature = "enable-tracing")]
tracy_client::finish_continuous_frame!();
}
Event::Suspended => {