fixed a rare exception when razer lighting disposes

This commit is contained in:
Ell 2022-06-27 00:01:56 +02:00
parent 8f742b1eeb
commit 942dc47e94

View file

@ -22,7 +22,7 @@ namespace Illumilib.System {
public override void Dispose() {
base.Dispose();
this.chroma.UninitializeAsync();
this.chroma?.UninitializeAsync();
this.effectOutdated = true;
}