event_monitor: Replace unsound static mut MONITOR

See discussion in https://github.com/rust-lang/rust/issues/53639.
This came up during an internal review.

Signed-off-by: Christian Blichmann <cblichmann@google.com>
This commit is contained in:
Christian Blichmann
2023-09-14 11:19:12 +02:00
committed by Rob Bradford
parent f557aadb67
commit 88f3537b47
3 changed files with 13 additions and 13 deletions
Generated
+1
View File
@@ -624,6 +624,7 @@ version = "0.1.0"
dependencies = [
"flume",
"libc",
"once_cell",
"serde",
"serde_json",
]