Skip to content

Commit

Permalink
Fix crash when no asm is found. (#14958)
Browse files Browse the repository at this point in the history
  • Loading branch information
sm6srw committed Feb 22, 2024
1 parent 10915c0 commit 0ebfdf6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/NodeServices/WorkspaceEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,13 @@ internal static void OnWorkspaceSettingsChanged(bool enableLegacyPolyCurveBehavi
var handler = WorkspaceEnableLegacyPolyCurveSettingChanged;
if (handler != null)
{
handler(new WorkspacesSettingsChangedEventArgs(enableLegacyPolyCurveBehavior));
try
{
handler(new WorkspacesSettingsChangedEventArgs(enableLegacyPolyCurveBehavior));
}
catch (NullReferenceException)
{
}
}
}
}
Expand Down

0 comments on commit 0ebfdf6

Please sign in to comment.