Skip to content

Commit 8537114

Browse files
committed
Check startup only for Release
1 parent 65de0ad commit 8537114

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ await API.StopwatchLogInfoAsync(ClassName, "Startup cost", async () =>
198198

199199
#pragma warning restore VSTHRD100 // Avoid async void methods
200200

201+
/// <summary>
202+
/// check startup only for Release
203+
/// </summary>
204+
[Conditional("RELEASE")]
201205
private void AutoStartup()
202206
{
203207
// we try to enable auto-startup on first launch, or reenable if it was removed

0 commit comments

Comments
 (0)