mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Various pattern execution race conditions
This commit is contained in:
@@ -1162,7 +1162,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
void process() override {
|
||||
auto lock = ContentRegistry::PatternLanguage::getRuntimeLock();
|
||||
auto lock = std::scoped_lock(ContentRegistry::PatternLanguage::getRuntimeLock());
|
||||
auto &runtime = ContentRegistry::PatternLanguage::getRuntime();
|
||||
|
||||
const auto &outVars = runtime.getOutVariables();
|
||||
|
||||
Reference in New Issue
Block a user