We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13ef786 commit 7f69475Copy full SHA for 7f69475
1 file changed
crates/viewer/re_viewer/src/app.rs
@@ -556,9 +556,20 @@ impl App {
556
);
557
}
558
559
- SystemCommand::CloseRecordingOrTable(entry) => {
+ SystemCommand::CloseRecordingOrTable(mut entry) => {
560
// TODO(#9464): Find a better successor here.
561
+
562
+ let data_source = match &mut entry {
563
+ RecordingOrTable::Recording { store_id } => {
564
+ store_hub.entity_db_mut(&store_id).data_source.clone()
565
+ }
566
+ RecordingOrTable::Table { .. } => None,
567
+ };
568
+ self.rx_log
569
+ .retain(|r| Some(r.source()) != data_source.as_ref());
570
571
store_hub.remove(&entry);
572
573
update_web_address_bar(
574
self.startup_options.web_history_enabled(),
575
store_hub,
0 commit comments