mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Unionize exception and assertion handling
(cherry picked from commit cfac7ff0ba)
This commit is contained in:
@@ -1700,6 +1700,9 @@ namespace hex::plugin::builtin {
|
||||
EventHighlightingChanged::post();
|
||||
|
||||
TaskManager::createTask("hex.builtin.view.pattern_editor.evaluating", TaskManager::NoProgress, [this, code, provider](auto &task) {
|
||||
// Disable exception tracing to speed up evaluation
|
||||
trace::disableExceptionCaptureForCurrentThread();
|
||||
|
||||
auto runtimeLock = std::scoped_lock(ContentRegistry::PatternLanguage::getRuntimeLock());
|
||||
|
||||
auto &runtime = ContentRegistry::PatternLanguage::getRuntime();
|
||||
|
||||
Reference in New Issue
Block a user