Skip to content

Commit fa6b1db

Browse files
author
David Karlaš
committed
When compering ThreadInfo objects also make sure they are part of same debugging session
1 parent 6e5fc27 commit fa6b1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mono.Debugging/Mono.Debugging.Client/ThreadInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public override bool Equals (object obj)
104104
ThreadInfo ot = obj as ThreadInfo;
105105
if (ot == null)
106106
return false;
107-
return id == ot.id && processId == ot.processId;
107+
return id == ot.id && processId == ot.processId && session == ot.session;
108108
}
109109

110110
public override int GetHashCode ()

0 commit comments

Comments
 (0)