Skip to content

Commit

Permalink
fix: Shallow clone of Session MUST include settings and telemetry-com…
Browse files Browse the repository at this point in the history
…mand-tx

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
  • Loading branch information
lizhanhui committed Jan 5, 2025
1 parent 61c9031 commit 1e37b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ impl Session {
option: self.option.clone(),
endpoints: self.endpoints.clone(),
stub: self.stub.clone(),
settings: None,
telemetry_command_tx: None,
settings: self.settings.clone(),
telemetry_command_tx: self.telemetry_command_tx.clone(),
telemetry_stream_epoch: Arc::clone(&self.telemetry_stream_epoch),
telemetry_tx: self.telemetry_tx.clone(),
shutdown_tx: None,
Expand Down

0 comments on commit 1e37b25

Please sign in to comment.