mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
Change behavior of auto profile timer
This commit is contained in:
parent
b1cea0725c
commit
dbf2c63094
@ -290,6 +290,7 @@ namespace DS4Windows
|
|||||||
|
|
||||||
autoProfilesTimer.Elapsed += CheckAutoProfiles;
|
autoProfilesTimer.Elapsed += CheckAutoProfiles;
|
||||||
autoProfilesTimer.Interval = 1000;
|
autoProfilesTimer.Interval = 1000;
|
||||||
|
autoProfilesTimer.AutoReset = false;
|
||||||
|
|
||||||
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
|
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
|
||||||
string version = fvi.FileVersion;
|
string version = fvi.FileVersion;
|
||||||
@ -676,6 +677,7 @@ namespace DS4Windows
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
autoProfilesTimer.Start();
|
||||||
//GC.Collect();
|
//GC.Collect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user