We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f61018e commit 363f6adCopy full SHA for 363f6ad
1 file changed
crates/utils/re_perf_telemetry/src/telemetry.rs
@@ -47,7 +47,7 @@ pub enum TelemetryDropBehavior {
47
}
48
49
impl Telemetry {
50
- pub fn flush(&mut self) {
+ pub fn flush(&self) {
51
let Self {
52
logs,
53
traces,
@@ -75,7 +75,7 @@ impl Telemetry {
75
76
77
78
- pub fn shutdown(&mut self) {
+ pub fn shutdown(&self) {
79
// NOTE: We do both `force_flush` and `shutdown` because, even though they both flush the
80
// pipeline, sometimes one has better error messages than the other (although, more often
81
// than not, they both provide useless errors and you should make sure to look into the
0 commit comments