fix: Diffing task not being properly cancelable

Fixes #2383
This commit is contained in:
WerWolv
2025-08-08 17:47:15 +02:00
parent a9faba5cec
commit 725462b222
3 changed files with 13 additions and 6 deletions

View File

@@ -42,6 +42,7 @@ namespace hex::plugin::diffing {
TaskHolder m_diffTask;
std::atomic<bool> m_analyzed = false;
std::atomic<bool> m_analysisInterrupted = false;
ContentRegistry::Diffing::Algorithm *m_algorithm = nullptr;
};