Skip to content

Commit 33f958e

Browse files
committed
Check auto startup only for Debug
1 parent f9df58d commit 33f958e

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
@@ -202,6 +202,10 @@ await API.StopwatchLogInfoAsync(ClassName, "Startup cost", async () =>
202202

203203
#pragma warning restore VSTHRD100 // Avoid async void methods
204204

205+
/// <summary>
206+
/// check auto startup only for Debug
207+
/// </summary>
208+
[Conditional("RELEASE")]
205209
private void AutoStartup()
206210
{
207211
// we try to enable auto-startup on first launch, or reenable if it was removed

0 commit comments

Comments
 (0)