Skip to content

Commit

Permalink
fixed null error
Browse files Browse the repository at this point in the history
  • Loading branch information
ugras-ergun-sonarsource committed Nov 15, 2023
1 parent 33402ec commit ec72f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/GitEventsMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void HeadFileChanged(object sender, FileSystemEventArgs e)
{
HeadChanged?.BeginInvoke(this, EventArgs.Empty, new AsyncCallback((IAsyncResult ar) =>
{
HeadChanged.EndInvoke(ar);
HeadChanged?.EndInvoke(ar);
}), null);
}

Expand Down

0 comments on commit ec72f18

Please sign in to comment.