Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 7965de4

Browse files
authored
Merge pull request #9088 from mono/jstedfast-debugger-updatepinicon-crash-fix
[Debugger] ViewAtColumn can return null so protect against that
2 parents ebc2649 + dff23cb commit 7965de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValue/Mac/MacObjectValueTreeView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ void UpdatePinIcon (nint row, bool hover)
653653
if (rowView != null) {
654654
var pinView = (MacDebuggerObjectPinView) rowView.ViewAtColumn (ColumnCount - 1);
655655

656-
pinView.SetMouseHover (hover);
656+
pinView?.SetMouseHover (hover);
657657
}
658658
}
659659

0 commit comments

Comments
 (0)