Skip to content

Commit

Permalink
Break out of outter loop once file is found. (case 1118285)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncham committed Mar 6, 2019
1 parent 23517a3 commit 43d87f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono/mini/debugger-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -3824,7 +3824,7 @@ create_event_list (EventKind event, GPtrArray *reqs, MonoJitInfo *ji, DebuggerEv
break;
}
#else
while ((method = mono_class_get_methods (ei->klass, &iter))) {
while (!found && (method = mono_class_get_methods (ei->klass, &iter))) {
MonoDebugMethodInfo *minfo = mono_debug_lookup_method (method);

if (minfo) {
Expand Down

0 comments on commit 43d87f5

Please sign in to comment.