mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
fix: Fix unable to configure again after configure fails (#19908)
* Remove device from "configuring" after error * use finally for cleanup
This commit is contained in:
@@ -129,8 +129,8 @@ export default class Configure extends Extension {
|
||||
if (throwError) {
|
||||
throw error;
|
||||
}
|
||||
} finally {
|
||||
this.configuring.delete(device.ieeeAddr);
|
||||
}
|
||||
|
||||
this.configuring.delete(device.ieeeAddr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user