Skip to content

Commit 43d87f5

Browse files
committed
Break out of outter loop once file is found. (case 1118285)
1 parent 23517a3 commit 43d87f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/mini/debugger-agent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,7 @@ create_event_list (EventKind event, GPtrArray *reqs, MonoJitInfo *ji, DebuggerEv
38243824
break;
38253825
}
38263826
#else
3827-
while ((method = mono_class_get_methods (ei->klass, &iter))) {
3827+
while (!found && (method = mono_class_get_methods (ei->klass, &iter))) {
38283828
MonoDebugMethodInfo *minfo = mono_debug_lookup_method (method);
38293829

38303830
if (minfo) {

0 commit comments

Comments
 (0)