mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
dangling deletion fix
This commit is contained in:
@@ -54,7 +54,7 @@ export class PluginHost {
|
||||
continue;
|
||||
}
|
||||
for (const mixin of getState(pluginDevice, ScryptedInterfaceProperty.mixins) || []) {
|
||||
if (this.scrypted.findPluginDeviceById(mixin).pluginId === this.pluginId) {
|
||||
if (this.scrypted.findPluginDeviceById(mixin)?.pluginId === this.pluginId) {
|
||||
device.handler.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user