Only stop timers once

This commit is contained in:
Travis Nickles 2018-08-13 01:58:00 -05:00
parent b263775395
commit 1ecd25c926

View File

@ -1537,8 +1537,6 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
toolStrip1.Enabled = true; toolStrip1.Enabled = true;
lbLastMessage.ForeColor = SystemColors.GrayText; lbLastMessage.ForeColor = SystemColors.GrayText;
opt.inputtimer.Stop();
opt.sixaxisTimer.Stop();
opt.Dock = DockStyle.None; opt.Dock = DockStyle.None;
tabProfiles.Controls.Remove(opt); tabProfiles.Controls.Remove(opt);
optPop = false; opt = null; optPop = false; opt = null;