Make sure to add timer stop when event is called

I know that I added the call at some point during testing
before.
This commit is contained in:
Travis Nickles 2018-12-13 13:49:46 -06:00
parent b28a6cb446
commit f7da78090f

View File

@ -556,6 +556,8 @@ namespace DS4Windows
void Hotkeys(object sender, EventArgs e)
{
hotkeysTimer.Stop();
if (SwipeProfiles)
{
for (int i = 0; i < 4; i++)
@ -607,6 +609,8 @@ namespace DS4Windows
private void CheckAutoProfiles(object sender, EventArgs e)
{
autoProfilesTimer.Stop();
//Check for process for auto profiles
if (string.IsNullOrEmpty(tempProfileProgram))
{