mirror of
https://github.com/Ellpeck/Illumilib.git
synced 2024-11-25 13:18:34 +01:00
Compare commits
2 commits
f640d05fa5
...
01575ed42d
Author | SHA1 | Date | |
---|---|---|---|
01575ed42d | |||
614facddaf |
3 changed files with 11 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<PackageIcon>Logo.png</PackageIcon>
|
||||
<VersionPrefix>1.2.5</VersionPrefix>
|
||||
<VersionPrefix>1.2.6</VersionPrefix>
|
||||
<NoWarn>NU1701</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -20,7 +20,11 @@ namespace Illumilib.System {
|
|||
public override void Dispose() {
|
||||
base.Dispose();
|
||||
this.ClearBitmap();
|
||||
LogitechGsdk.LogiLedShutdown();
|
||||
try {
|
||||
LogitechGsdk.LogiLedShutdown();
|
||||
} catch {
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetAllLighting(float r, float g, float b) {
|
||||
|
|
|
@ -22,7 +22,11 @@ namespace Illumilib.System {
|
|||
|
||||
public override void Dispose() {
|
||||
base.Dispose();
|
||||
this.chroma?.UninitializeAsync();
|
||||
try {
|
||||
this.chroma?.UninitializeAsync();
|
||||
} catch {
|
||||
// ignored
|
||||
}
|
||||
this.effectOutdated = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue