Skip to content

Commit

Permalink
Fix side effect of only not sending assembly_load while invoking meth…
Browse files Browse the repository at this point in the history
…ods. (#98253)
  • Loading branch information
thaystg authored Feb 12, 2024
1 parent f582c0b commit 671a443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/component/debugger-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -4124,7 +4124,7 @@ jit_end (MonoProfiler *prof, MonoMethod *method, MonoJitInfo *jinfo)
if (assembly) {
DebuggerTlsData *tls;
tls = (DebuggerTlsData *)mono_native_tls_get_value (debugger_tls_id);
if (tls->invoke == NULL) {
if (!CHECK_ICORDBG (TRUE) || tls->invoke == NULL) {
process_profiler_event (EVENT_KIND_ASSEMBLY_LOAD, assembly);
} else {
assembly_load(prof, assembly); //send later
Expand Down

0 comments on commit 671a443

Please sign in to comment.