Change behavior of auto profile timer

This commit is contained in:
Travis Nickles 2018-08-10 20:09:37 -05:00
parent b1cea0725c
commit dbf2c63094

View File

@ -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();
}