fix: improved pattern editor task handling

This commit is contained in:
paxcut
2026-04-01 21:20:31 -07:00
parent 3a8f19cc90
commit 65aecd1c1e
4 changed files with 31 additions and 19 deletions

View File

@@ -332,6 +332,7 @@ namespace hex {
}
} catch (const Task::TaskInterruptor &) {
// Handle the task being interrupted by user request
log::debug("Task '{}' was interrupted", task->m_unlocalizedName.get());
task->interruption();
} catch (const std::exception &e) {
log::error("Exception in task '{}': {}", task->m_unlocalizedName.get(), e.what());