We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30c2b0 commit 6606752Copy full SHA for 6606752
RDMSharp/RDM/Device/AbstractRemoteRDMDevice.cs
@@ -29,7 +29,7 @@ public abstract class AbstractRemoteRDMDevice : AbstractRDMDevice , IRDMRemoteDe
29
30
private readonly ConcurrentDictionary<byte, Sensor> sensors = new ConcurrentDictionary<byte, Sensor>();
31
public sealed override IReadOnlyDictionary<byte, Sensor> Sensors { get { return sensors.AsReadOnly(); } }
32
- public sealed override IReadOnlyDictionary<ushort, Slot> Slots { get { return PersonalityModel.Slots; } }
+ public sealed override IReadOnlyDictionary<ushort, Slot> Slots { get { return PersonalityModel?.Slots; } }
33
34
35
private readonly ConcurrentDictionary<int, RDMStatusMessage> statusMessages = new ConcurrentDictionary<int, RDMStatusMessage>();
0 commit comments