Follow up to #41991 🤦🏻 Release Notes: - N/A
Unified · Split
| @@ -54,10 +54,9 @@ macro_rules! serialize_property { · 53 unmodified lines | |||
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | pub fn send_event(event: Event) { | 56 | pub fn send_event(event: Event) { |
| 57 | println!("{} - {:?}", event.event_type, event.event_properties); | 57 | if let Some(queue) = TELEMETRY_QUEUE.get() { |
| 58 | // if let Some(queue) = TELEMETRY_QUEUE.get() { | 58 | queue.unbounded_send(event).ok(); |
| 59 | // queue.unbounded_send(event).ok(); | 59 | } |
| 60 | // } | ||
| 61 | } | 60 | } |
| 62 | 61 | ||
| 63 | pub fn init(tx: mpsc::UnboundedSender<Event>) { | 62 | pub fn init(tx: mpsc::UnboundedSender<Event>) { |