Fixed lock recursion issue with tray icon view model

This commit is contained in:
Travis Nickles 2019-12-26 19:02:32 -06:00
parent ee34544f6f
commit 63dfd8e194

View File

@ -308,10 +308,11 @@ namespace DS4WinWPF.DS4Forms.ViewModels
{ {
controllerList.RemoveAt(idx); controllerList.RemoveAt(idx);
RemoveDeviceEvents(currentDev); RemoveDeviceEvents(currentDev);
PopulateToolText();
} }
_colLocker.ExitWriteLock(); _colLocker.ExitWriteLock();
PopulateToolText();
} }
private void HookEvents(object sender, EventArgs e) private void HookEvents(object sender, EventArgs e)