We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdbf5cf commit ef8fd54Copy full SHA for ef8fd54
source/RevitDevTool/Application.cs
@@ -25,7 +25,7 @@ public override void OnStartup()
25
public override void OnShutdown()
26
{
27
TraceEventNotifier.TraceReceived -= TraceCommand.TraceReceivedHandler;
28
- TraceCommand.SharedViewModel?.IsStarted = false;
+ if (TraceCommand.SharedViewModel is not null) TraceCommand.SharedViewModel.IsStarted = false;
29
SettingsService.Instance.SaveSettings();
30
VisualizationController.Stop();
31
}
0 commit comments