From dbf2c630944606115d89f08e73e0c32972a140c3 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 10 Aug 2018 20:09:37 -0500 Subject: [PATCH] Change behavior of auto profile timer --- DS4Windows/DS4Forms/DS4Form.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index e797218..23c40e0 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -290,6 +290,7 @@ namespace DS4Windows autoProfilesTimer.Elapsed += CheckAutoProfiles; autoProfilesTimer.Interval = 1000; + autoProfilesTimer.AutoReset = false; FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location); string version = fvi.FileVersion; @@ -676,6 +677,7 @@ namespace DS4Windows } } + autoProfilesTimer.Start(); //GC.Collect(); }