diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-30 15:21:08 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-30 17:23:29 -0400 |
| commit | a54125565bb32bfb8af86f9b3ab3cb2151d76a14 (patch) | |
| tree | 0483c37de8d644e28b1a1278bd22b84f8b960468 /ui/featuremap.h | |
| parent | 85a14f0f1fce79b7bedeb420f32e3af60b2d3a6b (diff) | |
Fix memory ordering issues found with TSAN
Diffstat (limited to 'ui/featuremap.h')
| -rw-r--r-- | ui/featuremap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/featuremap.h b/ui/featuremap.h index f17d5981..12b25488 100644 --- a/ui/featuremap.h +++ b/ui/featuremap.h @@ -47,7 +47,7 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget, public BinaryNinja::BinaryDa BinaryViewRef m_data; std::unique_ptr<NotificationsDispatcher> m_dispatcher = nullptr; - bool m_updatesPending = false; + std::atomic<bool> m_updatesPending = false; QTimer* m_updateTimer = nullptr; size_t m_imgWidth = 0; size_t m_imgHeight = 0; |
