diff options
| author | Mark Rowe <mark@vector35.com> | 2025-07-09 13:36:58 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-07-10 16:08:11 -0700 |
| commit | ebac408aec4bbeab7db3d6336520f5ea2a033a2c (patch) | |
| tree | cc0145ce5392989c8a826e1076404120c63ac264 /view/sharedcache | |
| parent | d252eb03954d254275ee7981070d8071795073ac (diff) | |
Fix the Triage Summary view's exports list to only update when visible
The `ExportsTreeView` now asks the model to pause / resume updates when
its visibility changes. When paused, all notifications from the view are
ignored. When resumed, notifications set a flag to indicate that an
update is needed and resume the update timer if it is not already
active. The timer is stopped after an update is processed.
There's some extra complexity here to avoid emitting a signal for every
`BinaryView` notification that is processed. These notifications are
typically generated on background threads. The overhead of emitting a
signal and it being routed to the main thread adds up given the number
of notifications involved when loading a large binary.
Diffstat (limited to 'view/sharedcache')
0 files changed, 0 insertions, 0 deletions
