Skip to content

Commit

Permalink
Update InstrumentationRuntime.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
thetruestblue authored Jun 14, 2024
1 parent e003d9e commit f3731ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Target/InstrumentationRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void InstrumentationRuntime::ModulesDidLoad(
if (CheckIfRuntimeIsValid(module_sp)) {
SetRuntimeModuleSP(module_sp);
Activate();
if (IsActive())
if (!IsActive())
SetRuntimeModuleSP({}); // Don't cache module if activation failed.
return false; // Stop iterating, we're done.
}
Expand Down

0 comments on commit f3731ad

Please sign in to comment.