mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-11 15:59:08 +01:00
Make sure to remove event handler when finished
This commit is contained in:
parent
83628f8849
commit
59161a5b62
@ -2570,6 +2570,8 @@ namespace DS4Windows
|
||||
FlashColor[device] = new DS4Color(advColorDialog.Color);
|
||||
}
|
||||
|
||||
advColorDialog.OnUpdateColor -= advColorDialog_OnUpdateColor;
|
||||
|
||||
if (device < 4)
|
||||
DS4LightBar.forcelight[device] = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user