Added dispose call when closing Options form

This commit is contained in:
Travis Nickles 2019-02-08 11:26:42 -06:00
parent 1f0c144d42
commit 7818e88b72

View File

@ -1612,6 +1612,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
opt.Dock = DockStyle.None; opt.Dock = DockStyle.None;
tabProfiles.Controls.Remove(opt); tabProfiles.Controls.Remove(opt);
opt.Dispose();
optPop = false; opt = null; optPop = false; opt = null;
lBProfiles.Visible = true; lBProfiles.Visible = true;