From 6526587833507887839937101310521721723170 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 17 Aug 2023 20:40:01 -0400 Subject: Better fix for linear view hang Instead of updating a lot, have a bail condition to prevent future bugs --- ui/linearview.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/linearview.h b/ui/linearview.h index bb99ce19..6cff0734 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -215,6 +215,8 @@ class BINARYNINJAUIAPI LinearView : public QAbstractScrollArea, public View, pub std::shared_mutex m_cacheMutex; BinaryNinja::Ref m_topPosition, m_bottomPosition; std::vector m_lines; + size_t m_emptyPrevCursors; + size_t m_emptyNextCursors; size_t m_topLine; std::optional m_topOrderingIndexOffset; -- cgit v1.3.1