Skip to content

Commit 6138727

Browse files
authored
Merge pull request #1155 from Unity-Technologies/unity-master-bug-1118285
Break out of outter loop once file is found. (case 1118285)
2 parents 70df696 + 43d87f5 commit 6138727

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)