mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 21:05:08 +00:00
parent
61c263fcf0
commit
483e31e42a
1 changed files with 3 additions and 4 deletions
|
|
@ -54,10 +54,9 @@ macro_rules! serialize_property {
|
|||
}
|
||||
|
||||
pub fn send_event(event: Event) {
|
||||
println!("{} - {:?}", event.event_type, event.event_properties);
|
||||
// if let Some(queue) = TELEMETRY_QUEUE.get() {
|
||||
// queue.unbounded_send(event).ok();
|
||||
// }
|
||||
if let Some(queue) = TELEMETRY_QUEUE.get() {
|
||||
queue.unbounded_send(event).ok();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn init(tx: mpsc::UnboundedSender<Event>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue