added bscan reprocessing
This commit is contained in:
@@ -150,6 +150,13 @@ class AppWindowPipelineMixin:
|
||||
# completed and the GUI hung.
|
||||
single_capture_start_ns = time.monotonic_ns() if single_capture else None
|
||||
|
||||
# `data_preprocessor` is about to become the owner of the preprocessed ring
|
||||
# again, so the GUI must stop holding a writer into it. A queued replay would
|
||||
# otherwise interleave with the real producer.
|
||||
self._bscan_reprocess_timer.stop()
|
||||
self._close_replay_ring_writer()
|
||||
self._discard_bscan_replay_results()
|
||||
|
||||
self._supervisor.start(config_path, allow_clean_orchestrator_exit=single_capture)
|
||||
self._close_readers()
|
||||
self._raw_reader = ShmRingReader(config.rings.raw_tap.name)
|
||||
@@ -683,6 +690,7 @@ class AppWindowPipelineMixin:
|
||||
"""Reset runtime history and B-scan caches."""
|
||||
self._replace_runtime_history(retained_raw=[], retained_pre=[], retained_result=[])
|
||||
self._bscan_history_floor_collection_id = 0
|
||||
self._discard_bscan_replay_results()
|
||||
self._clear_history_mode_caches()
|
||||
self._update_history_indicator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user