mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Make a blank settings interface if one does not exist because segfaulting is bad
This commit is contained in:
@@ -21,6 +21,7 @@ public:
|
||||
Device(neodevice_t neodevice = { 0 }) {
|
||||
data = neodevice;
|
||||
data.device = this;
|
||||
settings = std::unique_ptr<IDeviceSettings>(new IDeviceSettings(nullptr));
|
||||
}
|
||||
virtual ~Device() {
|
||||
disableMessagePolling();
|
||||
|
||||
Reference in New Issue
Block a user