Clean up code

This commit is contained in:
Joseph T. Lyons 2024-01-06 15:31:16 -05:00
parent ea1770254d
commit 800c9958a3
3 changed files with 2 additions and 15 deletions

View file

@ -213,7 +213,7 @@ impl Telemetry {
drop(state);
let this = self.clone();
cx.spawn(|_cx| async move {
cx.spawn(|_| async move {
// Avoiding calling `System::new_all()`, as there have been crashes related to it
let refresh_kind = RefreshKind::new()
.with_memory() // For memory usage